Re: How to allow users to mount smb shares in FC5?

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

 



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@xxxxxxxxxxxx		Spamtrap address mtd123@xxxxxxxxxxxx
> 

Hey Tom,

This sounds not bad....can you give me a hint on this??

Thx,
Roger


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux