How to allow users to mount smb shares in FC5?
tdiehl at rogueind.com
Tue Apr 11 16:12:43 UTC 2006
On Tue, 11 Apr 2006, Roger Grosswiler wrote:
> > Hi, people,
> > In FC4, I used to set SUID in /usr/bin/smbmnt and /usr/bin/smbumount,
> > so that ordinary users could mount and umount smb shares in their
> > home directories. However, these programs don't exist in FC5. I can
> > mount smb shares using "mount -t cifs" as root, but how do I set up
> > the system so that ordinary users can mount smb shares, as they did
> > in FC4?
> > Thanks,
> > Marcelo
> how i did (suboptimal)
> entering group users as sudoers using visudo, set them to
> group% ALL:/usr/sbin/mount (not a 100% sure, did this before days...)
> then your users can mount using sudo. you can then write a nice little
> script with mount -t cifs -o credentials... where you can put username and
> password in an encrypted hidden file in users directory.
Maybe you could use autofs??
I use autofs to mount samba shares. This enables the users to be able to
do things like cd /machine_name/sharename.
Tom Diehl tdiehl at rogueind.com Spamtrap address mtd123 at rogueind.com
More information about the users