EasyManua.ls Logo

Sun Microsystems Sun SPARC Enterprise M4000 - Specifying a User Privilege

Sun Microsystems Sun SPARC Enterprise M4000
398 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
2-36 SPARC Enterprise Mx000 Servers XSCF User’s Guide August 2009
3. Use the password(8) command to specify a password.
Specifying a User Privilege
Command operation
1. Use the showuser(8) command to display user account settings.
2. Use the setprivileges(8) command to assign a user privilege to a user
account.
3. Use the showuser(8) command to confirm the privilege.
<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
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
<Example> Specify useradm and auditadm for a user account.
XSCF> setprivileges jsmith useradm auditadm

Table of Contents

Other manuals for Sun Microsystems Sun SPARC Enterprise M4000

Related product manuals