logo

Manual Pages


Table of Contents

NAME

na_useradmin - add, delete or list administrative users

SYNOPSIS

useradmin useradd [ -c comments] login_name

useradmin userdel login_name

useradmin userlist [ user_name_list ]

DESCRIPTION

The useradmin command can be used to add, delete or list administrative users.

The useradd option is used to add administrative users. The user name can be upto 32 characters long. The username can contain any alphanumeric character, a space, or a punctuation character that is not one of:

" * + , / : ; < = > ? [ ] |

All users added through the useradd option have the same privilege level as root.

Optionally, a comment about the user being added can be provided. Comments about the user should be no longer than 128 characters and should not contain the character `:' (colon).

When users are added they are prompted for the password twice. The password is case-sensitive and by default has the following restrictions:

- it should be at least 6 characters long

- it should contain at least two alphabetic characters

- it should contain at least one digit
or special character

If the setting of the security.passwd.rules.enable option is off, then the restrictions will not be enforced. See na_options(1) for additional information about this option.

The userdel option can be used to delete any non-root administrative user.

The userlist option lists all non-root users if no user name is provided. The userlist option can also be invoked with a list of users to list information about only those users.

The user entries will each be printed in list format as follows:

  Name: fred
  Command Access Allowed: yes
  Info: This is a comment for fred.
  Full Name: Fred Smith
  Rid: 65542

The Command Access Allowed field indicates whether this user has a valid filer password, and therefore whether the user can log in to and execute commands on the filer.

The Info field is the comment (or the NT user description), if any, entered for the user.

The Full Name field may exist if the user account was added using Windows-based tools.

The Rid is a unique integer assocaited with each user. This value is generated automatically by ONTAP when the user record is created.

VFILER CONSIDERATIONS

When run from a vfiler context, (e.g. via the vfiler run command), useradmin operates on the concerned vfiler. The useradd subcommand adds a user to the concerned vfiler, userdel deletes a user from the vfiler, and userlist lists all users of the vfiler.

SEE ALSO

na_passwd(1), na_options(1), na_rshd(8), na_vfiler(1).

NOTES

For information on filer access via rsh, please see na_rshd(8).


Table of Contents