ubuntu- New User

The reason ubuntu command line after the new user can not enter the desktop
after a new user with useradd named in line mode to enter the password in the graphical interface could not land because of the new configuration without any user create a new user with adduser command to enter the desktop
said the following about the difference between the useradd and adduser

ubuntu create a new user command (useradd and adduser) and to use the difference
to create a new user in Ubuntu, typically used two commands: useradd and adduser, though the same effect, but usage is not the same. The next article will bring specific explanation for the reader.
Create a new user in Ubuntu, typically used two commands: useradd and adduser. Although the same effect, but usage is not the same:

1. To use useradd, if the latter do not add any parameter options, such as: #sudo useradd test created out of the user will be the default "three noes" user: a free Home Directory, two no password, three non-system Shell.
2. When using adduser, create a user process is more of a man-machine dialogue, the system will prompt you to enter a variety of information, and then creates a new user based on the information to help you.
useradd is an ELF executable program;
useradd adds a user name, and create a user name and the name of the same group, but it does not create a directory-based user name in the / home directory, nor create a new password prompt.
-b, -base-dir BASE_DIR specify the base directory home directory

So for the novice user to create the best use adduser

Guess you like

Origin www.cnblogs.com/wen-/p/12115218.html