Adduser – FUJITSU SPARC ENTERPRISE M4000 User Manual

Page 39

Advertising
background image

adduser(8)

System Administration

17

NAME

adduser - create an XSCF user account

SYNOPSIS

adduser

[-u UID] user

adduser -h

DESCRIPTION

adduser

(8) creates a new local XSCF user account. This account is used to

configure, operate, manage and administrate the XSCF firmware. Initially, this
account has no password. It cannot be used for login until either the password is set
(using password(8)) or Secure Shell (SSH) public key authentication is set for the
user. The new account will be locked but not disabled. The system can support up
to 100 local users with an average length of 10 characters for the user operand.

When invoked without the -u option, adduser automatically assigns a UID for the
user account. When invoked with the -u option adduser assigns the given UID to
the user account. Automatic UIDs are assigned starting from 100.

If the Service Processor is configured to use Lightweight Directory Access Protocol
(LDAP) for user account data, the user name and UID (if specified) must not
already be in use, either locally or in LDAP.

When a user is created, adduser(8) command stores the current password policy
values in a file for the user. For more information on setting password policy see,
setpasswordpolicy(8).

Privileges

You must have useradm privileges to run this command.

Refer to setprivileges(8) for more information.

OPTIONS

The following options are supported.

OPERANDS

The following operands are supported:

-h

Displays usage statement.

When used with other options or operands, an error occurs.

-u

UID

Creates a new user with the given user identifier (UID). Specifying
a UID is optional. If specified, the UID must be greater than or
equal to 100; and 65534 and 65535 are reserved. If not specified, a
UID is automatically assigned.

user

Specifies a valid user name to be added. The maximum length of
the user name is 32 characters. New local XSCP user account can
be combination of alpha-numeric, "-", or "_". Any combination of
upper and lower case letters can be used. The first character
must be an alphabetical character ("jsmith", "j_smith", "j_smith-
0123", or "J_Smith-0123" for example).

Advertising