[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?
- From: "Sharpe, Sam J" <sam sharpe imperial ac uk>
- To: "Red Hat Enterprise Linux 5 \(Tikanga\) discussion mailing-list" <rhelv5-list redhat com>
- Subject: RE: [rhelv5-list] Correct way to allow users to mount samba shares?
- Date: Tue, 8 May 2007 20:08:26 +0100
> 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]