Addgroup command, Adduser command, Table 38 addgroup command – Raritan Computer SX User Manual

Page 147: Table 39 adduser command

Advertising
background image

C

HAPTER

12:

C

OMMAND

L

INE

I

NTERFACE

129

Addgroup Command

The addgroup command creates a group with common permissions.
The syntax of the addgroup command is:

addgroup [name groupname] [class <op|ob>] [ports <number|range|*>]

The addgroup command options are described in Table 38.

Table 38 Addgroup Command

C

OMMAND

O

PTION

D

ESCRIPTION

name groupname

Group name

class <op|ob>

Group user class <op>erator or <ob>server

ports <number|range|*>

Port(s) assigned to the group. Single port or range of ports (1-n
or 1,3,4 or * for all ports)


Command Example

admin > Config > User > addgroup name unixgroup class op ports 1, 3

Adduser Command

The adduser command is used to manage information about a specified user.
The syntax of the adduser command is:
adduser [user loginname] [fullname user's-fullname] [group name]
[dialback phonenumber] [password password] [info user-
information] [active <true|false>]

The adduser command options are described in Table 39.

Table 39 Adduser Command

C

OMMAND

O

PTION

D

ESCRIPTION

user loginname

Login Name (Required)

fullname user's-
fullname

User’s full name (required)

group name

Group to associate with user (required)

dialback
phonenumber

Dialback phone number for this user (optional)

password
password

User's password (required)

info user-
information

Miscellaneous user information

active
<true|false>

Activate/Deactivate user account


Adduser Command Example
The following example shows how to add a user.
admin > Config > User > adduser user jjones fullname John-Jones
group unix dialback 12146908003 password 123abc info AP-Systems
active true

Advertising