User administration – Digi CM User Manual

Page 122

Advertising
background image

User Administration

122

Chapter 15

The ssh break can changed from the Web UI or config menu under
Serial ports > Configuration >

Host mode configuration

> SSH break sequence

Additional binaries or applications can be added to /usr2 such as:

crontab

netstat

fuser

To download these utilities go to: http://ftp.digi.com/support/utilities/digicm/

User Administration

Add, edit or delete users with the Digi CM command line interface.

Add user

Example:

useradd -d /tmp [-g groupid ] [-s shellprogram ] [username]

groupid = Options are: Sys admin, Port admin, or Standard User.

500 = Sys admin
501 = Port admin
502 = Standard User
These are the three types of groups supported by the Digi CM. You
must use one of these.

shellprogram = Options are: CLI (Command Line Interface), Config menu,

Port access menu, or Custom menu.

/bin/bash = CLI
/bin/editconf = Configuration menu
/bin/vts.master = Port access menu
/bin/menu = Custom menu
These are the four types of shells supported by the Digi CM. You must
use one of these four.

passwd [username]

saveconf

applyconf

Modify user

Example:

usermod -d /tmp [-g groupid] [-s shellprogram] [username]

Syntax is the same as it is for useradd mentioned above.

saveconf

applyconf

Delete user

Example:

userdel[username]

saveconf

applyconf

Advertising