Use root to log on after BT4 is installed

Source: Internet
Author: User

 

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.