su and sudo

Martijn van de Streek martijn at foodfight.org
Mon Apr 25 05:12:02 CDT 2005


On Mon, 25 Apr 2005, Armin Ronacher wrote:

> I think I have a good idea for sudo.
> Maybe each bashrc should include something like alias su="sudo -s"
> 
> For many beginners this would be a perfect way to "translate many Linux
> tutorials into Ubuntu".

For a lot of "old hands" it'd just break. And you wouldn't be learning
people what they're really doing. For the same reason "rm" and "mv"
aren't aliased to "rm -i" and "mv -i": people will get into trouble when
they "visit" a system without these safeguards.

The best solution is to change those tutorials to reflect the reality of
multiple systems to "get root" (su, sudo, etc.).

Martijn
-- 
When a cow laughs, does milk come out of its nose?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.ubuntu.com/archives/ubuntu-devel/attachments/20050425/2f451b12/attachment.pgp


More information about the ubuntu-devel mailing list