HP 6125G HP 6125G & 6125G/XG Blade Switches Fundamentals Configuration - Page 21

Configuring the user privilege level directly on a user interface, Command, Remarks, password

Page 21 highlights

[Sysname-luser-test] authorization-attribute level 3 Configuring the user privilege level directly on a user interface To configure the user privilege level directly on a user interface that uses the scheme authentication mode: Step 1. Configure the authentication type for SSH users as publickey. 2. Enter system view. 3. Enter user interface view. 4. Enable the scheme authentication mode. 5. Configure the user privilege level. Command Remarks For more information, see Security Required only for SSH users who Configuration Guide. use public-key authentication. system-view user-interface { first-num1 [ last-num1 ] | vty first-num2 [ last-num2 ] } authentication-mode scheme user privilege level level N/A N/A By default, the authentication mode for VTY users is password, and no authentication is needed for AUX users. By default, the user privilege level for users logged in through the AUX user interface is 3, and that for users logged in through the other user interfaces is 0. To configure the user privilege level directly on a user interface that uses the none or password authentication mode: Step 1. Enter system view. 2. Enter user interface view. Command system-view user-interface { first-num1 [ last-num1 ] | { aux | vty } first-num2 [ last-num2 ] } 3. Configure the authentication mode for any user who uses the current user interface to log in to the device. authentication-mode { none | password } 4. Configure the privilege level of users logged in through the user privilege level level current user interface. Remarks N/A N/A Optional. By default, the authentication mode for VTY user interfaces is password, and no authentication is needed for AUX users. Optional. By default, the user privilege level for users logged in through the AUX user interface is 3, and that for users logged in through the other user interfaces is 0. For example: # Display the commands a Telnet user can use by default after login. ? User view commands: display Display current system information 15

  • 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
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135

15
[Sysname-luser-test] authorization-attribute level 3
Configuring the user privilege level directly on a user interface
To configure the user privilege level directly on a user interface that uses the scheme authentication mode:
Step
Command
Remarks
1.
Configure the authentication
type for SSH users as
publickey
.
For more information, see
Security
Configuration Guide
.
Required only for SSH users who
use public-key authentication.
2.
Enter system view.
system-view
N/A
3.
Enter user interface view.
user-interface
{
first-num1
[
last-num1
] |
vty
first-num2
[
last-num2
] }
N/A
4.
Enable the scheme
authentication mode.
authentication-mode
scheme
By default, the authentication
mode for VTY users is
password
,
and no authentication is needed
for AUX users.
5.
Configure the user privilege
level.
user privilege level
level
By default, the user privilege level
for users logged in through the
AUX user interface is 3, and that
for users logged in through the
other user interfaces is 0.
To configure the user privilege level directly on a user interface that uses the
none
or
password
authentication mode:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter user interface view.
user-interface
{
first-num1
[
last-num1
] | {
aux
|
vty
}
first-num2
[
last-num2
] }
N/A
3.
Configure the authentication
mode for any user who uses
the current user interface to
log in to the device.
authentication-mode
{
none
|
password
}
Optional.
By default, the authentication
mode for VTY user interfaces is
password
, and no authentication is
needed for AUX users.
4.
Configure the privilege level
of users logged in through the
current user interface.
user privilege level
level
Optional.
By default, the user privilege level
for users logged in through the
AUX user interface is 3, and that
for users logged in through the
other user interfaces is 0.
For example:
# Display the commands a Telnet user can use by default after login.
<Sysname> ?
User view commands:
display
Display current system information