View previous topic :: View next topic |
Author |
Message |
sploo22 n00b
Joined: 21 Aug 2003 Posts: 20 Location: Cayman Brac, Cayman Islands
|
Posted: Fri Aug 22, 2003 5:10 pm Post subject: Really stupid things to do as root |
|
|
Let's have a topic for all those ideas that seem really clever, until you actually try them. I'll start the ball rolling with something that happened to me the other day.
I noticed that some services on my computer hadn't been started automatically so I wanted a list of them and their status. I did this at the root prompt: "for i in /etc/init.d/*; do echo -n $i; $i status; done". All was well until...
/etc/init.d/halt.sh Halting system...
Instant poweroff! _________________ This signature will self-destruct in 10 seconds. Close browser window now to avoid permanent monitor damage. |
|
Back to top |
|
|
masseya Bodhisattva
Joined: 17 Apr 2002 Posts: 2602 Location: Baltimore, MD
|
Posted: Fri Aug 22, 2003 5:18 pm Post subject: Re: Really stupid things to do as root |
|
|
sploo22 wrote: | Let's have a topic for all those ideas that seem really clever, until you actually try them. | We have one: Don't execute this from your command line! Please follow up there.
Moving from Gentoo Chat. _________________ if i never try anything, i never learn anything..
if i never take a risk, i stay where i am.. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|