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

Re: Adding /sbin and /usr/sbin to everyone's path in F10



On Wednesday 23 April 2008, Tom "spot" Callaway wrote:
> I propose that we add /sbin and /usr/sbin to the path for normal users
> (as well as root) for F10? There are plenty of useful tools in there for
> non-root users (ifconfig, fdisk, parted), and IMHO, any tool which
> assumes the user is root because it lives in /sbin is fundamentally
> broken. The LSB doesn't mandate this (at least, not anywhere I can see),
> so I propose that we just do it.
>
> Anyone opposed to such an action?
>
> ~spot

-1   it will break quite a few things.  especially everything that uses 
consolehelper.   it could be worked around by putting /sbin:/usr/sbin at the 
end of path 

[dennis bratac gilmore]$ /sbin/parted /dev/sda print
WARNING: You are not superuser.  Watch out for permissions.
Error: Error opening /dev/sda: Permission denied  

a standard install doesn't allow a user to use parted.  ifconfig is probably 
the only thing i use regularly thats in one of the sbin paths  that works 
fine when you are not root.  

really the only way to make it useful would be to default to setting up sudo 
that way if it fails you can do sudo <foo>   rather than sudo </path/to/foo>

Dennis

Attachment: signature.asc
Description: This is a digitally signed message part.


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