[pptp-server] auto-login mount

Jason Staudenmayer jasons at NJAQUARIUM.ORG
Thu Nov 29 09:54:38 CST 2001


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




More information about the pptp-server mailing list