Tagged Questions
1
vote
2answers
290 views
ssh root access denied after changing shell
after i tried to change my server shell, i cannot login as root anymore.
First, i installed the z-shell (zsh) as root and then i wanted to change it to my default shell. Therefore i used "chsh". My ...
0
votes
1answer
65 views
restore root account on ubuntu running in EC2 [duplicate]
Possible Duplicate:
root locked out of EC2
How can I restore root account that is running on EC2 Ubuntu platform?
In the /etc/passwd the root username got replaced with something like ...
1
vote
2answers
287 views
How to add root user in nis passwd file?
One of the sys admins accidentally moved aside /etc/passwd... doh!
Restoring the file from backup doesn't work... it errors out because root user does not exist.
I've got NIS running at this site and ...
1
vote
1answer
804 views
sudo: uid 1000 does not exist in the passwd file!
How can i restore my /etc/passwd file? I have access to it, but it's currently empty and I added this to the file, but I can't even SSH to the machine, I'm getting a "connection refused".
...