Specifying a user privilege – FUJITSU SPARC M4000 User Manual

Page 89

Advertising
background image

Chapter 2 Setting Up XSCF

2-33

3. Use the password (8) command to specify a password.

<Example 1> Specify a password.

XSCF> password jsmith

Changing password for platadm

(current) XSCF password:

xxxxxx

New XSCF password:

xxxxxx

BAD PASSWORD: is too similar to the old one

New XSCF password:

xxxxxx

BAD PASSWORD: it is too simplistic/systematic

New XSCF password:

xxx

BAD PASSWORD: it’s WAY too short

New XSCF password:

xxxxxx

Retype new XSCF password:

xxxxxx

XSCF>

<Example 2> Specify 60 days for the validity period, and also

specify that a validity expiration warning be issued 15 days in

advance.

XSCF> password –M 60 –w 15 jsmith

Specifying a User Privilege

Command operation

1. Use the showuser (8) command to display user account settings.

XSCF> showuser -a

User Name: jsmith

Status: Enabled

Minimum: 0

Maximum: 99999

Warning: 7

Inactive: -1

Last Change: Aug 22, 2005

Password Expires: Never

Password Inactive: Never

Account Expires: Never

2. Use the setprivileges (8) command to assign a user privilege to a user

account.

<Example> Specify useradm and auditadm for a user account.

XSCF> setprivileges jsmith useradm auditadm

3. Use the showuser (8) command to confirm the privilege.

Advertising