Samba fstab

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Fri Apr 23 17:25:02 UTC 2004


Am Fr, den 23.04.2004 schrieb Alexander Dalloz um 19:18:

> Why "user" two times? And it must be entred to the end of the 4 column,
> or even use "users" instead (see man mount). There is not need for
> setting smbmnt and smbumount suid.

Sorry, have to correct myself!

$ la /usr/bin/smbmnt /usr/bin/smbumount
-rwsr-xr-x  1 root root 9824 12. Feb 20:44 /usr/bin/smbmnt
-rwsr-xr-x  1 root root 7464 12. Feb 20:44 /usr/bin/smbumount

> Yes, setting suid bit is not recommended. Where it is really needed to
> set special permissions I would use sudo (setting permissions with
> visudo).

You should be in general be very careful what to set suid root. By
default mount and umount are suid root too:

$ la $(which mount) $(which umount)
-rwsr-xr-x  1 root root 74240 11. Sep 2003  /bin/mount
-rwsr-xr-x  1 root root 36580 11. Sep 2003  /bin/umount

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2179.nptl
Sirendipity 19:21:27 up 5 days, 2:07, load average: 0.36, 0.19, 0.12 
                   [ Γνωθι σ'αυτον - gnothi seauton ]
             my life is a planetarium - and you are the stars
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040423/7f1488cd/attachment-0001.sig>


More information about the fedora-list mailing list