Re: Samba fstab

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

 



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

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


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

  Powered by Linux