Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Really stupid things to do as root
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
sploo22
n00b
n00b


Joined: 21 Aug 2003
Posts: 20
Location: Cayman Brac, Cayman Islands

PostPosted: Fri Aug 22, 2003 5:10 pm    Post subject: Really stupid things to do as root Reply with quote

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
View user's profile Send private message
masseya
Bodhisattva
Bodhisattva


Joined: 17 Apr 2002
Posts: 2602
Location: Baltimore, MD

PostPosted: Fri Aug 22, 2003 5:18 pm    Post subject: Re: Really stupid things to do as root Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
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