Rick Moen hath declared on Tuesday the 03 day of February 2004 :-:
> Quoting myself:
>> > This is why we sysadmins teach people to say "/bin/su" when su'ing to
> > root. Eh, you never learned that? Sorry to hear.
>> On reflection, that's probably been a needless precaution on my part,
> albeit well intended.
bobb at tchpc10 (~) $ echo $SHELL
/usr/local/bin/bash
bobb at tchpc10 (~) $ alias /sbin/su="echo foo"
bobb at tchpc10 (~) $ /sbin/su
foo
bobb at tchpc10 (~) $ alias su="echo bar"
bobb at tchpc10 (~) $ su
bar
bobb at tchpc10 (~) $ alias \\su="echo baz"
bobb at tchpc10 (~) $ \su
Password:
Its generally a good habbit to just use \su
- bobb
--
Mr. Rogers could explain shoe-tying and make it seem like the coolest
thing in the world. He was our Uncle and older brother. He told us we
were special, and we knew he'd be there for us.
A cult leader, right down to the sneakers.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!