Click here for "Error Codes for Commercial Air Conditioners".

Create a user

Create a user

To create and add a new user, use the "useradd" command
By specifying a user name as an argument to the command, a user will be created. The user directory will be created under the /home directory, and the group name will be the same as the user name.

[root@lion root]# useradd nuy ←Create a new user
[root@lion root]# ls -l /home ←Check your home directory
total 12
............
........... drwx------ 6 nuy nuy 4096 Sep 10 18:36 nuy/ ←The nuy directory has been created.[root@lion root]# tail /etc/passwd ←Verify user information
......................
.....................
nuy:x:502:503::/home/nuy:/bin/bash
タイトルとURLをコピーしました