hi,
badly need help...
Currently im managing 3 dedicated host w/ whm cpanel..
now, one of those 3 got me a big headache, ssh and mysqld not working and a very big prob.. i just found out that root directory "/" was owned a user and not the root..
i mean..
/etc
/var
/home
etc...
apache is running good.. ftp is ok.. but cannot login as a root.
i created user edited the /etc/sudoers to grant root access as sudo
but i cannot exec sudo on a php backdoor shell..
question:
should restoring the backup will correct the file ownership/permission?
is there a tweak to make sshd run? so i can change the ownership problem?
any feature or tool inside cpanel to correct the issue, or even just to grant sshd to run?
as much possible we dont want to have a os reinstall as we cannot afford for a downtime and there are about 1TB of important files..
any suggestion and ideas would greatly be appreciated.
OS:
Centos 5.4
Best regards,
richard.
badly need help...
Currently im managing 3 dedicated host w/ whm cpanel..
now, one of those 3 got me a big headache, ssh and mysqld not working and a very big prob.. i just found out that root directory "/" was owned a user and not the root..
i mean..
/etc
/var
/home
etc...
apache is running good.. ftp is ok.. but cannot login as a root.
i created user edited the /etc/sudoers to grant root access as sudo
but i cannot exec sudo on a php backdoor shell..
question:
should restoring the backup will correct the file ownership/permission?
is there a tweak to make sshd run? so i can change the ownership problem?
any feature or tool inside cpanel to correct the issue, or even just to grant sshd to run?
as much possible we dont want to have a os reinstall as we cannot afford for a downtime and there are about 1TB of important files..
any suggestion and ideas would greatly be appreciated.
OS:
Centos 5.4
Best regards,
richard.
Last edited: