Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


Closed Thread
  Search this Thread
Old 05-19-2007, 05:02 PM   #1
LQ Newbie
Registered: May 2007
Posts: 10

Rep: Reputation: 0
did something stupid

Hello everyone, I am a total newbie in linux.
At home Ive setup Asterisk PBX and LAMP box and Iam so happy with it!
But one boring evening Ive played with commands, just to learn things (you know how it goes).
And After: extract from my bash history file

chown /* root
chown root /*
find / -path './etc/asterisk/' -prune -o -print
find / -path './etc/asterisk/' -prune -o print
find / -path './etc/asterisk/' -prune -o -print
find / -path './etc/asterisk/'-path './etc/asterisk/'-path './etc/asterisk/' -prune -o -print
find / -path './etc/asterisk/'-path './etc/asterisk/' -path './srv/file_srv/' -prune -o -print
find / -path './etc/asterisk/' -path './srv/file_srv/' -prune -o -print
find / -path './etc/asterisk/' -prune -o -print | xargs cown root
find / -path './etc/asterisk/' -prune -o -print | xargs chown root
find /etc -path './etc/asterisk/' -prune -o -print | xargs chown root
find /etc -path './etc/asterisk/' -prune -o -print | xargs chown root
cd etc
find . -path './etc/asterisk/' -prune -o -print | xargs chown root
find . -path './etc/asterisk/' | xargs chown root
find . -path './etc/asterisk/' | xargs chown root *
cd asterisk/
find . | xargs chown asterisk *

The Following problems start to occur:
1. fstab doesnt mount my samba shares (it does but when cd to them, it just hangs.)
2. Asterisk doesn't start.
3. MySQL doesn't start (says, can't connect to local host and can't find the socket?)
(other services like apache, atftpd, sshd are working)

I also executed this commands, but I don't think they have done anything harmful.

watch -n 0.1 ls
watch -n 0.1 uptime
watch -n 0.1 ps
eject -d
setleds -F

Any help would much appreciated!
Old 05-19-2007, 05:39 PM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
I'm closing this thread, as you have posted another one here

Next time if a thread does not appear or you have different problems, please contact a moderator or the site admin before posting again.

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Stupid, stupid spoofing teejaytimms Linux - Server 6 10-30-2006 11:25 AM
I Did Something Stupid... SentralOrigin Linux - Newbie 2 10-23-2005 04:35 PM
Stupid, stupid question; I lost Klaptop. :( Surfrider Slackware 2 08-31-2005 10:12 PM
Stupid Dumb Stupid Question... drigz Linux - Software 3 09-23-2004 04:09 PM
stupid stupid newb ? what to use instead of xconfigurator h00ligan Fedora 3 01-25-2004 10:51 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration