[pptp-server] auto-login mount
Allan Clark
allanc at caldera.com
Thu Nov 29 10:17:50 CST 2001
Jason;
Did you consider using the standard automounter?
I'm more a Unix than Linux guy, so I'm not sure the capabilities of the
linux automounter, but the Unix one would allow home directories with
/home/atlas/jfranklin (ie /home is the mount, "atlas" is one of many
"servers" for mounting, and "jfranklin" is a username) result in an
automount of atlas, and a softlink of the home directory.
I'm going from memory here, since I've only got OpenServers up at the
time (which have a different automounter). Does htis seem like
something to play with?
If the user is using a Windows client, Samba can handle the mounts with
pre/post commands; I was using this to make a mount of //host/CDROM do a
"mount -t iso9660 ..." and a umount as required.
Allan
Jason Staudenmayer wrote:
>
> Is there any way to have a script run a mount/umount command for a user when
> he/she connects/disconnects
> to the pptp? The situation is I need to mount a Novell server for each
> user's home directory.
> That's all setup and ready I just can't figure out how to mount/umount each
> one by connection.
> I tries using the ip-up script but the directory perms are changed so that
> only root can see it.
> I would like something like the following:
>
> if %username% = john
> ncpmount -U john -P secret -S server -V vol /home/john/mountdir
> elseif %username% = jay
> etc.....
>
> Is this possible?
>
> Jason S
>
> _______________________________________________
> pptp-server maillist - pptp-server at lists.schulte.org
> http://lists.schulte.org/mailman/listinfo/pptp-server
> --- To unsubscribe, go to the url just above this line. --
More information about the pptp-server
mailing list