API Guide

-* *-
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
This product is protected by U.S. and international copyright and
intellectual property laws. Dell EMC and the Dell EMC logo are
trademarks of Dell Inc. in the United States and/or other
jurisdictions. All other marks and names mentioned herein may be
trademarks of their respective companies.
linuxadmin@s4048t-1:~$
5. linuxadmin 提示符处输入 sudo -i 并输入 linuxadmin 密码以进入根模式。
linuxadmin@s4048t-1:~$ sudo -i
[sudo] password for linuxadmin:
root@s4048t-1:~#
6. 在根模式提示符处输入 passwd username 命令以恢复指定用户名的密码。输入新密码两次例如
root@s4048t-1:~# passwd admin
New password:
Retype new password:
passwd: password updated successfully
7. 退出并从根模式和 linuxadmin 模式注销。
root@s4048t-1:~# exit
logout
linuxadmin@s4048t-1:~$ exit
logout
Debian GNU/Linux 9 s4048t-1 ttyS0
Dell EMC Networking Operating System (OS10)
8. 使用 admin 用户名和密码登录 OS10然后进入 CONFIGURATION 模式。
s4048t-1 login: admin
Password:
Last login: Mon May 6 18:05:58 UTC 2019 on ttyS0
Linux s4048t-1 4.9.82 #1 SMP Debian 4.9.82-1+deb9u3 x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
-* Dell EMC Network Operating System (OS10) *-
-* *-
-* Copyright (c) 1999-2018 by Dell Inc. All Rights Reserved. *-
-* *-
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
This product is protected by U.S. and international copyright and
intellectual property laws. Dell EMC and the Dell EMC logo are
trademarks of Dell Inc. in the United States and/or other
jurisdictions. All other marks and names mentioned herein may be
trademarks of their respective companies.
s4048t-1# configure terminal
s4048t-1(config)#
9. CONFIGURATION 模式下使用 username password role 命令配置用户名称的已恢复密码例如
s4048t-1(config)# username admin password admin12345 role sysadmin
1344 OS10 故障处理