Moxa EM-2260-CE [23/39] User group management

Moxa EM-2260-CE [23/39] User group management
EM-2260-CE User’s Manual Software Configuration
User/Group Management
User Group: You should assign specific services, such as ftp and telnet, to defined user groups
such 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 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 telnetd
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 remove a user from a user group by using the command userdel –g
<groupName> <newUserID>. For example,
\> userdel –g telnetd xxxx
user xxxx has been removed from group telnetd
Changing the Password: Please use “System Manager” to change the Password.
2-11

Содержание

Похожие устройства

Скачать