![Moxa Technologies ThinkCore V481 Скачать руководство пользователя страница 17](http://html1.mh-extra.com/html/moxa-technologies/thinkcore-v481/thinkcore-v481_user-manual_1841814017.webp)
ThinkCore V481 WinCE User’s Manual
Getting Started
2-6
User/Group Management
User Group:
You should assign specific services, such as ftp and telnet, to define 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,” were 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 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