华为S5700系列console修改登录方式

Password:
system-view
[HUAWEI]user-interface console 0 #进入console口
[HUAWEI-ui-console0]authentication-mode aaa #console启动aaa认证模式
Info: The password of CON0 will be changed. Please verify the old password.
Please enter old password: #密码验证
Warning: The level of the user-interface(s) will be the default level of AAA users, please check whether it is correct.
Info: The password was cleared.
Info: Succeeded in changing the authentication mode.
[HUAWEI-ui-console0]q #返回
[HUAWEI]aaa #进入aaa模式
[HUAWEI-aaa]local-user admin service-type terminal #启动admin用户终端登录模式
Info: After you change the rights (including the password, access type, FTP directory, and level) of a local user, the rights of users already online do not change. The change takes effect to users who go online after the change.
[HUAWEI-aaa]local-user admin password irreversible-cipher admin123 #修改admin有用户密码
Info: After you change the rights (including the password, access type, FTP directory, and level) of a local user, the rights of users already online do not change. The change takes effect to users who go online after the change.
[HUAWEI-aaa]display local-user username admin #显示admin用户信息
The contents of local user(s):
Password : ****************
State : active
Service-type-mask : M #(M)终端模式打开
Privilege level : -
Ftp-directory : -
Access-limit : -
Accessed-num : 0
Idle-timeout : -
User-group : -
Original-password : Yes
Password-set-time : 2022-12-08 07:02:06+08:00
Password-expired : No
Password-expire-time : -
[HUAWEI-aaa]local-aaa-user password policy administrator #进入Local-aaa-user密码策略管理员
[HUAWEI-aaa-lupp-admin]password alert before-expire 80 #全局密码80天到期
[HUAWEI-aaa-lupp-admin]aaa
[HUAWEI-aaa]display local-user username admin
The contents of local user(s):
Password : ****************
State : active
Service-type-mask : M
Privilege level : -
Ftp-directory : -
Access-limit : -
Accessed-num : 0
Idle-timeout : -
User-group : -
Original-password : Yes
Password-set-time : 2022-12-08 07:02:06+08:00
Password-expired : No
Password-expire-time : 2023-03-08 07:02:06+08:00
[HUAWEI-aaa]q
[HUAWEI]q

Username:admin #admin
Password: #密码
Warning: The initial password poses security risks.
The password needs to be changed. Change now? [Y/N]: n #没有强制修改
sy
Enter system view, return user view with Ctrl+Z.

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值