ALOM CMT Command | Summary | Comparable ILOM Command |
password | Changes the login password of the current user. | set /SP/users/username password |
restartssh | Restarts the SSH server so that new host keys generated by the ssh-keygen command are reloaded. | set /SP/services/ssh restart_sshd_action=true |
setdate [[mmdd]HHMM |mmddHHMM[cc]yy][.SS] | Sets ALOM CMT date and time. | set /SP/clock datetime=value |
setdefaults setdefaults –a | Resets all ALOM CMT configuration parameters to their default values. The –a option resets the user information to the factory default (one admin account only). | set /SP reset_to_defaults=configuration
set /SP reset_to_defaults=all |
setkeyswitch [normal|stby|diag| locked] | Sets the status of the virtual keyswitch. Setting the virtual keyswitch to standby (stby) powers off the server. Before powering off the host server, ALOM CMT asks for a confirmation. | set /SYS keyswitch_state=value |
setsc [param] [value] | Sets the specified ALOM CMT parameter to the assigned value. | set target property=value |
setupsc | Runs the interactive configuration script. This script configures the ALOM CMT configuration variables. | No equivalent in ILOM |
showplatform [–v] | Displays information about the host system’s hardware configuration, and whether the hardware is providing service. The –v option displays verbose information about the displayed components. | show /HOST |
showfru | Displays information about the field-replaceable units (FRUs) in a host server. | No equivalent in ILOM |
showusers
showusers –g lines | Displays a list of users currently logged in to ALOM CMT. The display for this command has a similar format to that of the UNIX command who. The –g option pauses the display after the number of lines you specify for lines. | show /SP/sessions
No equivalent in ILOM |
showhost
showhost version | Displays version information for host-side components. The version option displays the same information as the showhost command with no option. | show /HOST |
showkeyswitch | Displays status of virtual keyswitch. | show /SYS keyswitch_state |
showsc [param] | Displays the current non-volatile random access memory (NVRAM) configuration parameters. | show target property |
showdate | Displays the ALOM CMT date. ALOM CMT time is expressed in Coordinated Universal Time (UTC) rather than local time. The Solaris OS and ALOM CMT time are not synchronized. | show /SP/clock datetime |
ssh-keygen –l
ssh-keygen –r
ssh-keygen –t {rsa|dsa} | Generates Secure Shell (SSH) host keys and displays the host key fingerprint on the SC. | show /SP/services/ssh/keys rsa|dsa
set /SP/services/ssh generate_new_key_action=true
set /SP/services/ssh generate_new_key_type=[rsa|dsa] |
usershow [username] | Displays a list of all user accounts, permission levels, and whether passwords are assigned. | show /SP/users |
useradd username | Adds a user account to ALOM CMT. | create /SP/users/username |
userdel username
userdel –y username | Deletes a user account from ALOM CMT. The –y option enables you to skip the confirmation question. | delete /SP/users/username
delete –script /SP/users/username |
userpassword [username] | Sets or changes a user password. | set /SP/users/username password |
userperm [username] [c] [u] [a] [r] | Sets the permission level for a user account. | set /SP/users/username role=permissions
(where permissions are Administrator or Operator) |
Aucun commentaire:
Enregistrer un commentaire