View Single Post

  #2 (permalink)  
Old 04-16-2008
Ertugrul Söylemez
 
Posts: n/a
Default Re: Why 'mount' utils nees a setuid bit?

xi4oyu <Evil.xi4oyu@gmail.com> wrote:

> As we all known , in most case , 'mount ' can only be used by root .


Wrong.


> But why does it needs a setuid bit by default ?
>
> Can a common user use 'mount' program successfully ?


Yes. A regular user can mount entries in /etc/fstab with the 'user' or
'users' option set.


> What changes must be made in a system without sudo utils .


None. Write a proper filesystem table in /etc/fstab.


Regards,
Ertugrul.


--
http://ertes.de/

Reply With Quote