commands as super-user (was: JEdit)

Tommy Reynolds Tommy.Reynolds at MegaCoder.com
Fri Jan 4 22:05:22 UTC 2008


Uttered Karsten Wade <kwade at redhat.com>, spake thus:

> You lose a layer of security auditing, but make the user's life much
> easier.  Then we can teach either the 'su -' or 'su -c "/bin/bash"'
> methods.

With respect: bosh.  Root login is the ultimate evil.  On a multiuser
system you can't tell which root did what.

But sudo is important on a single-user system because:

1)  "su -c" can introduct some fancy shell quoting requirements.
    Don't peek and tell me where the 'su -c "mkdir ${HOME}/foo"'
    command makes a directory.  Not novice-friendly.

2)  there is no record of what was done by the "su -c" command and
    this makes error recovery more difficult.  I know what I *meant*
    to type, but what did I *actually* type?

3)  Easier to learn the correct habit than unlearn a bad one later.

A single paragraph / appendix what boils down to:

   # echo "${USER} ALL=(ALL) NOPASSWD: ALL" >>/etc/sudoers

doesn't seem too onerous.

Cheers
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-docs-list/attachments/20080104/10cfcc51/attachment.sig>


More information about the fedora-docs-list mailing list