Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

environment variable

On Sun, Apr 18, 2004 at 11:43:36AM -0400, Chris Devers wrote:
> And why are you messing around in a root shell? Don't have sudo?

Logging in as root is generally a bad idea, but there are perfectly
valid reasons to run in a root shell.  Many times, if you are
administering your system, you will need to run many commands as root
in sequence.  typing "sudo" before each of them gets very tedious in
short order.

Personally, I've set up a command called "root" which (basically) uses
sudo to run xterm with a different window name.  This allows that
xterm to automatically  have a different configuration, i.e. different
background color, making it difficult to type in the wrong window
mistakenly (unless you're color-blind).  When I need to do a lot of
sysadmin stuff on my system, I just run root, type my password, and I've
got a convenient root shell to work in.  I usually also place it on a
different desktop to make it even harder to mistakenly type into.

Derek D. Martin   GPG Key ID: 0xDFBEAD02
Despite the ever-increasing complexities of human society and the advancement
of science and technology, the most perplexing problems that face most people
remain what to eat for lunch today, and who to sleep with tonight.
This message is posted from an invalid address.  Replying to it will result in
undeliverable mail.  Sorry for the inconvenience.  Thank the spammers.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <>

BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!

Boston Linux & Unix /