Results 1 to 1 of 1
Well, I run a ApplicationServer. And they settings has to be saved on the localbox.
So I want to mount the /home folder on connect with NFS.
I want to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 11-30-2007 #1
Thinking out theory for secure ssh
Well, I run a ApplicationServer. And they settings has to be saved on the localbox.
So I want to mount the /home folder on connect with NFS.
I want to connect using SSH -x and I want to mount NFS only ONCE.
Since if you mount over eachother you'll get a mess.
Thus, everytime a user presses a icon the client makes a passwordless connection over ssh 2(Blowfish) using the -X <progname> parameter.
Then I should put something in like:
But when the last connection stops he has to Dismount the homefolder.Code:if (firstconnection) { MountNFS (Using Kerberos) } else { DoNOTMountNFS }
So I got with this Pseudo Code:
[code]
But that will kill the CPU since of the Never-Ending loop.Code:if (firstconnection) { MountNFS (Using Kerberos) while (connected) { wait(); } umount NFS }
And then again. Were should I put that script in then?
Can somebody help me with the Theory on how I can do this the best way?
Everytime a user clicks a button a NEW and extra tunnel is made.
and the NFS share is only allowed to be mounted once.
And on disconnect the mount should be unmounted
Oh, and a tricky part comes now.
this isnt needed. But its a pre if it can be done..
If the user doesnt exist yet. Then It should be reported and the user should be made by the system..
Well,
Cheers,
Robin


Reply With Quote
