Wednesday, 28 August 2013

Impossible root access to centos 6.4 ssh

Impossible root access to centos 6.4 ssh

I was trying to change directory to user on the etc/passwd file and after
I change it cannot access to ssh root anymore , this is what I did :
I add a user , add group , add user to created group and because i wanted
to restrict the user to specific folder I manually change the user patch
on etc/passwd. After that I am not able to login as root to ssh and sftp .
I am not able to mount the harddrive to another pc , but I can login with
another account ...... any idea how to solve it ?

No comments:

Post a Comment