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
ls
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
screen
cfdisk
kernelversion
fsck
eject
eject -d
showkey
showmount
setleds
setleds -F
Any help would much appreciated!