How do I add a user under Linux? And the successful exit user login? and switch User login?
The steps are as follows:
Command line enter adduser user name (e.g. LANP) Enter,(note: Here Linux does not display any information);
Then enter the passwd user name carriage return;
Prompt you to enter a new password, as well as the password entered after the confirmation password;(note that Linux is not displayed when you enter a password)
An authentication token has been successfully updated to represent the user and the creation was successful;
Exit user Login, directly logout enter;
Root switch to a normal user, with the command su user name (su is the switch user), if the normal user switch to root, then Su returns ( or Su-Enter, this represents the root variable passed over );
650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M02/89/8D/wKioL1gXMBfjTK6YAABRkCwV8Ds622.jpg-wh_500x0-wm_3 -wmp_4-s_1014571091.jpg "title=" adduser.jpg "alt=" Wkiol1gxmbfjtk6yaabrkcwv8ds622.jpg-wh_50 "/>
This article is from the "12104979" blog, please be sure to keep this source http://12114979.blog.51cto.com/12104979/1867827
Add new user under Linux, switch User login