UC-7400-CE User’s Manual
Getting Started
2-4
User/Group Management
User Group:
You should assign specific services, such as ftp and telnet, to defined user groups so
that these services are accessible only by the users within the permissible user group. Three user
groups, namely “ftpd”, “telnetd”, and “httpd”, are already created by default 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 that can access the
system. By default, the user’s password 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. The
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.
By default, the user’s password is the same as the user name.
\> passwd xxxx
Current password:
New password:
Retype new password:
Password has been changed