Tableau 59. Commande users (suite)
Option
Description
-af
Accepter les connexions
venant de l'hôte
(option de clé publique
SSH)
-cm
Commentaire
(option de clé publique
SSH)
Syntaxe :
users [-options] - display/configure user accounts
options:
-[1-12] - user account number
-l
- display password expiration days
-n
- username (limited to 16 characters)
-p
- password (limited to 32 characters)
-shp
- set hashpassword (total 64 characters)
-ssalt
- set salt (limited to 64 characters)
-ghp
- get hashpassword
-gsalt
- get salt
-ep
- encrypted password (used with backup/restore )
-r
- role name as listed in roles command
-clear
- clear user account
-curr
- display current users
-sauth
(none|HMAC-SHA)
-spriv
(none|CBC-DES|AES)
-spw
password
-sepw
encryptedpassword
-sacc
(Get)
-strap
hostname
-pk
- SSH public keys options:
-e
- Displays the entire key in OpenSSH format
-remove - Removes the specified key for the specified user
-add
- Adds a public key for the specified user
-upld
- Used to upload a public key in OpenSSH/RFC4716 format
-dnld
- Used to download the specified public key to a TFTP/SFTP server
-i
- IP address of the TFTP/SFTP
-pn
- port number of tftp/sftp server (default 69/22)
-u
- username for sftp server
-pw
- password for sftp server
-l
- Filename of the key file when uploading or downloading via TFTP/SFTP
-af
- accept connections from host, in the format: from="<list>", where
<list> is a comma-separated list of hostnames and IP addresses
(limited to 511 characters)
-cm
- comment (limited to 255 characters, must be quote-delimited)
Exemple :
system> users
Account
Login ID
-------
--------
1
USERID
system> users -2 -n sptest -p Passw0rd12 -r Administrator
The user is required to change the password when the user logs in to the management server for the first time
ok
182
XClarity Controller 2Guide d'utilisation
Valeurs
Une liste de noms d'hôte et adresses IP séparée par des virgules et
limitée à 511 caractères. Les caractères valides incluent : les caractères
alphanumériques, virgules, astérisques, points d'interrogations, points
d'exclamation, points, traits d'union, deux points et le symbole
pourcentage.
Chaîne entre guillemets pouvant comprendre jusqu'à 255 caractères.
Remarque : Lors de l'utilisation des options de clé publique SSH,
l'option -pk doit être utilisée après l'index d'utilisateur (option
-userindex), au format : users -2 -pk -cm "This is my comment.".
- snmpv3 authentication protocol
- snmpv3 privacy protocol
- snmpv3 privacy password
- snmpv3 privacy password (encrypted)
- snmpv3 Access type
- snmpv3 trap hostname
Advanced Attribute
------------------
Native
Role
Password Expires
------
----------------
Administrator
89 day(s)