Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Managing local user accounts

Reasons for creating local user accounts  Top

There are two primary reasons for creating local user accounts on the filer:

Tasks for managing local user accounts  Top

The following are tasks you can perform to manage passwords and local user accounts:

Changing the system password  Top

To change the system password, which is also the password for the root user account, complete the following step.

Step

Action

1

If you are using a...

Then...

Telnet session or the console to administer the filer

  1. Enter the following command:
    passwd
    
  2. Enter the system account name:
    root
    
  3. Enter the existing system password.
  4. Enter a new password, and then enter it a second time to confirm it.

Remote Shell connection to administer the filer

Enter the following command:

rsh filer_name passwd old_password 
new_password

Listing local user accounts  Top

To list one or more local users, complete the following step.

Step

Action

1

If you are using a...

Then...

Telnet session or the console to administer the filer

Enter the following command:

useradmin userlist [username list]

username list is a space-separated list of the login names you want to display.

Remote Shell connection to administer the filer

Enter the following command:

rsh useradmin userlist [username 
list]

username list is a space-separated list of the login names you want to display.

Note
If you do not specify any user names, all local users, except root, are listed.

Creating a local user account  Top

You must be logged in as a local user to create a user account.

User account passwords and user names have the following restrictions:

To create a local user account, complete the following step.

Step

Action

1

If you are using a...

Then...

Telnet session or the console to administer the filer

  1. Enter the following command:
    useradmin useradd 
    [-c "comments"] login_name

    comments is an optional opportunity to enter comments about the account, such as a user's full name.

    login_name is the new local user login name.

  2. When Data ONTAP prompts you for a password, enter the password associated with the new local user login name.
  3. When Data ONTAP prompts you to reenter the password, enter the password again.

Remote Shell connection to administer the filer

Enter the following command:

rsh filer_name useradmin useradd [-c 
"comments"] login_name password

comments is an optional opportunity to enter comments about the account, such as a user's full name.

login_name is the new local user login name.

password is the password associated with the new user name.

Changing a local user account password  Top

To change a local user account password, complete the following step.

Step

Action

1

If you are using a...

Then...

Telnet session or the console to administer the filer

  1. Enter the following command:
    passwd
    
  2. When Data ONTAP prompts you, enter the name of the local user whose password you want to change.
  3. When Data ONTAP prompts you, enter the new password.
  4. Enter the new password again.

Remote Shell connection to administer the filer

Enter the following command:

rsh filer_name passwd 
new_password username

Changing a local user account group or comment  Top

To change a local user account group membership or comment, complete the following step.

Step

Action

1

If you are using a...

Then...

Telnet session or the console to administer the filer

Enter the following command:

useradmin usermodify [-c 
"comments"] login_name

comments is the new comment that you want to specify for the affected user.

login_name is the local user whose login group membership or comment is being modified.

Remote Shell connection to administer the filer

Enter the following command:

rsh filer_name useradmin 
usermodify [-c "comments"] 
login_name

Deleting a local user account  Top

To delete a local user account, complete the following step.

Caution
Data ONTAP deletes a local user account immediately, without asking you to confirm the deletion.

Step

Action

1

If you are using a...

Then...

Telnet session or the console to administer the filer

Enter the following command:

useradmin userdel login_name

login_name is the login name of the local user account you want to delete.

Remote Shell connection to administer the filer

Enter the following command:

rsh filer_name useradmin userdel 
login_name

login_name is the login name of the local user account you want to delete.

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments