06.02.2014 Views

User's Guide Command Line Interface - QLogic

User's Guide Command Line Interface - QLogic

User's Guide Command Line Interface - QLogic

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2–User Account Configuration<br />

Modifying User Accounts and Passwords<br />

Modifying User Accounts and Passwords<br />

Only the Admin user account can modify a user account, delete a user account, or<br />

change the password of another user account. However, all user accounts can<br />

change their own passwords. The User command modifies and deletes user<br />

accounts. The Passwd command changes passwords.<br />

The following example removes the expiration date and admin authority for the<br />

user account named user1.<br />

SANbox (admin) #> user edit<br />

Press 'q' and the ENTER key to abort this command.<br />

account name (1-15 chars) : user1<br />

set account expiration in days (0-2000, 0=never): [0]<br />

should this account have admin authority? (y/n): [n]<br />

OK to modify user account 'user1' with no admin authority<br />

and to expire in 0 days?<br />

Please confirm (y/n): [n]<br />

The following example deletes the user account named user3.<br />

SANbox (admin) #> user delete user3<br />

The user account will be deleted. Please confirm (y/n): [n] y<br />

In the following example, the Admin user account changes the password for the<br />

user account named user2.<br />

SANbox #> admin start<br />

SANbox (admin) #> passwd user2<br />

Press 'q' and the ENTER key to abort this command.<br />

account OLD password : ********<br />

account NEW password (8-20 chars) : ********<br />

please confirm account NEW password: ********<br />

password has been changed.<br />

2-4 59263-02 B

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!