Changing permissions of Binaries installed by apt
Matthew Flaschen
matthew.flaschen at gatech.edu
Fri Feb 9 15:34:47 UTC 2007
Nils wrote:
> Hi all,
>
> I'm the sysadmin of a small group of people. To mount the fileserver I
> wrote a small script which uses /sbin/mount.cifs from the smbfs
> package. To make the normal users able to mount w/o sudo (and entering
> the passwd every time) I set the permissions of mount.cifs setuid
> (chmod +s $(which mount.cifs)).
I don't think that's really the right way to do that. You should make
an fstab entry with the option user . That will allow any user to mount
it. See http://www.tuxfiles.org/linuxhelp/fstab.html
Matthew Flaschen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070209/abf1496a/attachment.sig>
More information about the ubuntu-users
mailing list