Adding /sbin and /usr/sbin to everyone's path in F10
dennis at ausil.us
Wed Apr 23 15:43:46 UTC 2008
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?
-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 at 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>
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 197 bytes
Desc: This is a digitally signed message part.
More information about the fedora-devel-list