DA-660-8/16-CE User’s Manual
Getting Started
User/Group Management
User Group:
You often want the target computer to be accessible by multiple users with different
needs. For example, a specific service, such as ftp or telnet, is accessible only by the users within
the permissible group. By default, three user groups, namely
ftpd
,
telnetd
, and
administrators
are
pre-created for your convenience.
Adding a Group:
Use the command
useradd –g <groupName>
to create a user group.
\> useradd –g yyyy
group yyyy has been added.
Deleting a Group:
To remove a group, use the command
userdel –g <groupName>
.
\> userdel –g yyyy
group yyyy has been removed.
Adding a User:
Use the command
useradd <newUserID>
to add a user for accessing the system.
The user’s password, by default, is the same as the user name.
\> useradd xxxx
user xxxx has been added.
In addition, you can permit this user to access a particular service by typing
-g
followed by the user
group name of the service, i.e.,
useradd –g <groupName> <newUserID>
. For example,
\> useradd –g telnetd xxxx
user xxxx is existent
group telnetd is existent
user xxxx has been added to group yyyy
Deleting a User:
Use the command
userdel <userID>
to delete a user from the system. User
“admin”
CANNOT
be deleted.
\> userdel xxxx
user xxxx has been deleted
You can also just remove a user from a user group by using the command
userdel –g
<groupName> <newUserID>
. For example,
\> userdel –g yyyy xxxx
user xxxx has been removed from group yyyy
Changing the Password:
Use the command
“passwd <userID>”
to change your login password.
The user’s password, by default, is the same as the user name.
\> passwd xxxx
Current password:
New password:
Retype new password:
Password has been changed
2-4