On someone's ubuntu VPS I created a user, added them to sudo and logged in.
Figuring I didn't need the root password anymore, I got rid of it. Then for whatever reason I felt I needed to go back to root.
I type in sudo -s
and put in the users password. Then before my command it said something like
bash@name#
Then I could su root.
Just wondering what bash is, how I could switch to it before and I can't on my current vps.
Thanks :D
bash@name
notroot@name
? Have you read the manual page for sudoman sudo
in particular the sections forsudo -s
andsudo -i
? – steeldriver Dec 21 '15 at 13:37