1

I accidentally modified the default shell program /bin/bash for my user in /etc/passwd. I didn't set a root password in my ubuntu server installation.

Now I can't even login. Is there anything I can do?

2 Answers 2

3

Boot up into a live disk, mount the partition and fix /etc/passwd :)

4

Or .. start your box in single user mode and modify your passwd file - ubuntu single user mode link.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .