[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: [rhelv5-list] Correct way to allow users to mount samba shares?



> I would like to allow user accounts to mount/unmount samba shares to  
> folders in there home directory. What is the best why to give them  
> access to do this? Thanks.

I like pam_mount for this, assuming the passwords (not necessarily the
usernames) are the same on the samba shares as the login, or
sufficiently non-vital that they can be listed in plaintext in a config
file.

http://pam-mount.sourceforge.net/

Users place a .pam_mount.conf file in their home directory. When they
login, whatever is listed in that file gets mounted and is available for
use as soon as the user gets a shell prompt. When you log out, it cleans
them up again.

It's pretty neat...

--
Sam


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]