How to allow users to mount smb shares in FC5?
Roger Grosswiler
roger at gwch.net
Tue Apr 11 19:26:02 UTC 2006
Am Dienstag, den 11.04.2006, 12:12 -0400 schrieb Tom Diehl:
> 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.
>
> Regards,
>
> Tom Diehl tdiehl at rogueind.com Spamtrap address mtd123 at rogueind.com
>
Hey Tom,
This sounds not bad....can you give me a hint on this??
Thx,
Roger
More information about the fedora-list
mailing list