On Sat, Mar 29, 2008 at 09:17:44AM +0100, Benny Amorsen wrote:
Miroslav Lichvar <mlichvar(a)redhat.com> writes:
> But ordinary users don't need these commands. You are acting as an
> administrator when you are using them. The information you get isn't
> very useful unless you can switch to root if something is wrong.
They are essential when remote debugging over the phone. Telling users
to type /sbin/ is a pain over the phone, and so is remembering which
commands are in /sbin/ and which are in /usr/sbin/.
Again, it's not the user who needs the commands, it's you. I'd suggest
to add an alias like this to a bash startup file:
alias sbinpath="export PATH=$PATH:/usr/sbin:/sbin"
And the debugging will start with "type sbinpath, enter".
--
Miroslav Lichvar