User`s manual

UC-7122/7124 User’s Manual Getting Started
After logging on through the console port or through a Telnet client, a list of busybox commands
are available to operate the computer. Use “HELP” to display all of the commands and type
“HELP [command name]” to display extended help for the given command. Some of these
commands, such as “DATE” and “TIME” are very useful for managing the computer’s system
time. Other commands, such as “DIR” and “MKDIR” are good utilities for file management. For
example, to inspect the file structure of the root directory, type DIR.
> dir /b
Network
NORFlash
My Documents Program Files Temp
Windows
User/Group Management
User Grouping: You often need to define a user group that will be associated with a particular
system service, and manage this service to be accessible only by the users authorized to register
with this group. Three user groups, namely ftpd, telnetd, and httpd, have been created in the
default factory kernel for your convenience.
Use command useradd –g <groupName> to create a user group.
\> useradd –g yyyy
group yyyy has been added.
To remove a group, use the command userdel –g <groupName>.
\> userdel –g yyyy
group yyyy has been removed.
User Addition: Use the command useradd <newUserID> to add a user for accessing 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 allow this user to access a particular service by typing “-g” followed by the
user group name of the service. For example, 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
User Deletion: Use the command userde <userID>l to prevent a user from accessing the system.
Note that the user “admin” cannot be deleted.
\> userdel xxxx
user xxxx has been deleted
You can also just remove a user from a user group with the command userdel –g <groupName>
<newUserID>. For example,
\> userdel –g yyyy xxxx
user xxxx has been removed from group yyyy
Password Change: Use the command passwd <userID> to change your login password. Type
\> passwd xxxx
2-5