Lenovo RD220 User Guide - Page 92

Example, passwordcfg command, Syntax, Description

Page 92 highlights

The following table shows the arguments for the options. Option -en -i -f -synch Description Values Enables or disables the Network Time Protocol Enabled, disabled Name or IP address of the Network Time Protocol server The name of the NTP server to be used for clock synchronization. The frequency (in minutes) that the IMMclock is synchronized with the Network Time Protocol server 3 - 1440 minutes Requests an immediate synchronization with the Network Time Protocol server No values are used with this parameter. Example system> ntp -en: disabled -f: 3 minutes -i: not set passwordcfg command Syntax passwordcfg [options] options: {-high}|{-legacy}|{-exp|-cnt|-nul} -legacy -high -exp: -cnt: -nul: -h Description Use the passwordcfg command to display and configure the password parameters. Option -legacy -high -exp -cnt -nul -h Description Sets account security to a predefined legacy set of defaults Sets account security to a predefined high set of defaults Maximum password age (0 - 365 days). Set to 0 for no expiration. Number of previous passwords that cannot be reused (0 - 5) Allows accounts with no password (yes | no) Displays the command usage and options Example system> passwordcfg Security Level: Legacy system> passwordcfg -exp 365 ok system> passwordcfg -nul yes ok system> passwordcfg -cnt 5 86 Integrated Management Module: User Guide

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120

The following table shows the arguments for the options.
Option
Description
Values
-en
Enables or disables the
Network Time Protocol
Enabled, disabled
-i
Name or IP address of the
Network Time Protocol
server
The name of the NTP server to be used
for clock synchronization.
-f
The frequency (in minutes)
that the IMMclock is
synchronized with the
Network Time Protocol
server
3 - 1440 minutes
-synch
Requests an immediate
synchronization with the
Network Time Protocol
server
No values are used with this parameter.
Example
system>
ntp
-en: disabled
-f: 3 minutes
-i: not set
passwordcfg command
Syntax
passwordcfg [
options
]
options: {-high}|{-legacy}|{-exp|-cnt|-nul}
-legacy
-high
-exp:
-cnt:
-nul:
-h
Description
Use the
passwordcfg
command to display and configure the password parameters.
Option
Description
-legacy
Sets account security to a predefined legacy set of defaults
-high
Sets account security to a predefined high set of defaults
-exp
Maximum password age (0 - 365 days). Set to 0 for no expiration.
-cnt
Number of previous passwords that cannot be reused (0 - 5)
-nul
Allows accounts with no password (yes | no)
-h
Displays the command usage and options
Example
system>
passwordcfg
Security Level: Legacy
system> passwordcfg -exp 365
ok
system> passwordcfg -nul yes
ok
system> passwordcfg -cnt 5
86
Integrated Management Module: User Guide