sun OBP命令总结(精简)
show-sbus Display list of installed and probed SBus devices. .enet-addr Display current Ethernet address. .idprom isplay ID PROM contents, formatted. .traps Display a list of processor-dependent trap types. .version Display version and date of the boot PROM. .speed Display processor and bus speeds.
Resetting the System ok reset-all 3.Setting Configuration Variables
介绍怎样访问和修改NVRAM中的参数配置
显示和改变参数配置 Command Description printenv 显示参数的当前值和默认值 setenv variable value 设定参数variable的值为value,永久修改,但是通常需要重启才会发挥作用 set-default variable 某个参数设为出厂值 set-defaults 所有参数设定为出厂值 password 设置密码(小心你的密码,如果设置需要密码并且忘记了就的找SUN换件了)
设置安全参数
可用的参数 • security-mode • security-password • security-#badlogins
security-mode参数可选择的值: full 除了go命令,其他所有的命令都需要密码 command 除了boot(不带参数)和go命令,其他的命令都需要密码 none 不需要密码 (default)
example: ok password ok New password (only first 8 chars are used): ok Retype new password: ok setenv security-mode full
ok go (no password required) ok boot (password required) Password: (password is not echoed as it is typed) ok boot filename (password required) Password: (password is not echoed as it is typed) ok reset-all (password required) 本新闻共 6页,当前在第 4页 1 2 3 4 5 6 |