sc不经常使用,密码往往很不好记,忘掉密码后就无法访问sc,经过实践总结一下重置SC密码的方法。
首先要在服务器上安装rsc的软件包Sun Remote System Control (RSC) 2.2.3 Software,可以在sun的补丁光盘里面找到,位于光盘的目录:sun/progs/RSC/2.2.3中。该软件包也可以从sun的网站上下载,如下是参考链接地址:
http://sdlc-esd.sun.com/ESD12/Remote/System/Control/rsc2.2.3_packages_s9.zip?AuthParam=1151072997_6bf97a6816f20da8b7f6cb6802013aa4&TUrl=an1npDpbKod7kSYrROhENTonIuc4W0D1Lc4nXz+pGFFranixdCdgxDTPbW4=&TicketId=dld7OABLOOw++w==&GroupName=SDLC&BHost=sdlc2i.sun.com&FilePath=/ESD12/Remote/System/Control/rsc2.2.3_packages_s9.zip&File=rsc2.2.3_packages_s9.zip
在solaris 8上软件包是rsc2.2.3_packages_s8.zip,solaris 9和solaris 10使用同样的软件包是rsc2.2.3_packages_s9.zip
该软件安装步骤如下:
先准备软件包,然后解压缩,
# unzip rsc2.2.3_packages_s9.zip
解压缩后出现很多的软件包,如下:
README SUNWfrscd SUNWkrscd
README-RSC SUNWfrscj SUNWkrscj
SUNWcrsc SUNWhrsc SUNWrsc
SUNWcrscd SUNWhrscd SUNWrscd
SUNWcrscj SUNWhrscj SUNWrscj
SUNWdersc SUNWirscd SUNWsrscd
SUNWdrscd SUNWirscj SUNWsrscj
SUNWdrscj SUNWitrsc SUNWsvrsc
SUNWerscd SUNWjersc en_us_relnotes.pdf
SUNWerscj SUNWjrscd rsc2.2.3_packages_s8.zip
SUNWesrsc SUNWjrscj rsc2.2.3_packages_s9.zip
SUNWfrrsc SUNWkrsc
软件包中是针对不同语言环境不同的软件包,中文的软件包是
SUNWcrsc SUNWcrscd SUNWcrscj
英文的软件包是:
SUNWrsc SUNWrscd SUNWrscj
除了中文和英文的软件包外把多余的软件包删除掉,剩下如下软件包:
README SUNWcrscj en_us_relnotes.pdf
README-RSC SUNWrsc rsc2.2.3_packages_s8.zip
SUNWcrsc SUNWrscd rsc2.2.3_packages_s9.zip
SUNWcrscd SUNWrscj
然后安装这些软件包。
# pkgadd -d .
对于提示信息都选择"y"即可。
安装软件包后可以通过命令配置SC,修改密码等操作。
root@N2000Primary # scadm help
USAGE: scadm <command> [options]
For a list of commands, type "scadm help"
scadm - COMMANDS SUPPORTED
help, date, set, show, resetrsc, download, send_event, modem_setup,
useradd, userdel, usershow, userpassword, userperm, shownetwork,
loghistory, version
scadm - COMMAND DETAILS
scadm help => this message
scadm date [-s] | [[mmdd]HHMM | mmddHHMM[cc]yy][.SS] => print or set date
scadm set <variable> <value> => set variable to value
scadm show [variable] => show variable(s)
scadm resetrsc [-s] => reset SC (-s soft reset)
scadm download [boot] <file> => program firmware or [boot] monitor
scadm send_event [-c] "message" => send message as event (-c CRITICAL)
scadm modem_setup => connect to modem port
scadm useradd <username> => add SC user account
scadm userdel <username> => delete SC user account
scadm usershow [username] => show user details
scadm userpassword <username> => set user password
scadm userperm <username> [cuar] => set user permissions
scadm shownetwork => show network configuration
scadm loghistory => show SC event log
scadm version [-v] => show SC version (-v verbose)
root@N2000Primary #
使用命令scadm userpassword可以修改Scadm的密码,操作如下:
root@N2000Primary # scadm userpassword admin
Password:
Re-enter Password:
另外可以从/opt/rsc/doc/zh/pdf获得手册user_guide.pdf
手册里面有详细的使用方法。
另外sc也有图形化界面。执行命令/opt/rsc/bin/rsc将出现图形化界面。
如下是在线手册:
http://www.sun.com/products-n-solutions/hardware/docs/pdf/819-2288-10.pdf
如下是在线Readme:
http://www.sun.com/servers/rsc_download_readme.html
Sun Sparc平台SC(RSC)设置指南
最新推荐文章于 2022-04-10 20:48:10 发布