Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'cshrc file?!?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
cshrc file?!?
Authored by: dancingram on Jan 26, '04 01:59:39PM

Isn't placing this command in the cshrc file a really bad idea?

Doesn't it give every shell you open in terminal a root access?

And isn't that just a tad bit..... ohhhh.... dangerous?

If that isn't what's going on, then never mind..... but having everytime you run a command on your computer terminal run as root strikes me as a bad idea.



[ Reply to This | # ]
That's not what he's doing...
Authored by: jecwobble on Jan 26, '04 02:36:05PM
He's just putting an alias in his .cshrc which will override the normal su command by starting a new shell as root. So whenever he needs to do something requireing root access, he'll go into this 'rooted' shell to do his thing, then exit out of that shell back into his normal user's shell. Just a diffent way of sudoing.

[ Reply to This | # ]