Form: chinadu
These are all basic operations. Some friends in the group asked, write them to the novice, and write them in great detail. I can't understand them anymore.
Log on to the user created during installation. The account created by my BT4 is chinadu.
Hacktop login: chinadu
Password:
After the password is entered
Chinadu @ hacktop :~ $
When switching to superuser mode using the sudo su command, you must enter the User Password created during installation and enter:
Chinadu @ hacktop :~ $ Sudo su
[Sudo] password for chinadu:
After the password is entered, the following error occurs:
Root @ hacktop:/home/chinadu #
Enter passwd
Root @ hacktop:/home/chinadu # passwd
Appears:
Enter new UNIX passwrd:
After you enter the password, the following message is displayed:
Retype new UNIX password:
Enter the password again:
Prompt:
Passwd: password updated successfully
Root @ hacktop:/home/chinadu #
Then enter two exits:
Root @ hacktop:/home/chinadu # exit
Exit
Chinadu @ hacktop :~ $ Exit
In this way, your root password will be changed.
Log in with the root account and password
Next, delete the chinadu account and enter:
Root @ hacktop :~ # Userdel chinadu
Delete the chinadu directory:
Root @ hacktop :~ # Rm-rf/home/chinadu
OK .. next time you log on, you can log on directly with the root account and password.