1: Demonstration to create a new user binbin
Enter useradd binbin on the command line to create a new user binbin
After pressing Enter, press ll directly to check that binbin has been created
Two: Set a password
1.1 Enter the command: passwd binbin, press Enter, set the login password of user binbin
1.2 Note: When entering the password, the input content is not visible, and the cursor will not move. Just press Enter after inputting. The password needs to be entered twice. After the input is complete, our creation work is also complete
Three: Login
1.1: You can directly su binbin to switch to the binbin user, and then whoami press Enter (to view the current user), and you will see that you have switched to the binbin user
1.2 Command line login
Enter the ssh user name@public network ip on the command line and press Enter
Four: Delete users
Enter userdel -r username on the command line and press Enter, as shown in the middle arrow in the figure below