Wednesday 29 June 2011

Changing root password in ubuntu

subject : Software Engineering Fundamentals (TCS2411)

1. On the OS selection screen, press 'E'.
2. type in :
rw init=/bin/bash
then press 'ctrl + x'.

3. You will brought to a console, wait it to fully load and, type in :
passwd -u root
press 'enter'. Then type in :
passwd root
press 'enter'.

4. Next, you will be prompt for the new password. Take note that, you would not see the cursor moving while you type. Type the new password and press 'enter'. Then enter the password again for confirmation, then press 'enter'.

You are done. Restart your computer and try to login as root.


 
Powered by Blogger