Need to reset your rsc password from the OS?

Don’t know what the user name is?

# /usr/platform/`uname -i`/rsc/rscadm usershow

 username            permissions        password
 --------            -----------        --------
 admin               cuar               Assigned

To reset the password:

# /usr/platform/`uname -i`/rsc/rscadm userpassword root

Need help:

# /usr/platform/`uname -i`/rsc/rscadm help

USAGE: rscadm  [options]
  For a list of commands, type "rscadm help"


  help, date, set, show, resetrsc, download, send_event, useradd,
  userdel, usershow, userpassword, userperm, shownetwork, loghistory,

  rscadm help => this message
  rscadm date [-s] | [[mmdd]HHMM | mmddHHMM[cc]yy][.SS] => print or set date
  rscadm set   => set variable to value
  rscadm show [variable] => show variable(s)
  rscadm resetrsc [-s] => reset RSC (-s soft reset)
  rscadm download [boot]  => program firmware or [boot] monitor
  rscadm send_event [-c] "message" => send message as event (-c CRITICAL)
  rscadm useradd  => add RSC user account
  rscadm userdel  => delete RSC user account
  rscadm usershow [username] => show user details
  rscadm userpassword  => set user password
  rscadm userperm  [cuar] => set user permissions
  rscadm shownetwork => show network configuration
  rscadm loghistory => show RSC event log
  rscadm version => show RSC version

I always find myself needing this command. It is very handy if your OS is up but your rsc is not responding. Now if your OS is down .. this will not help much.

This is an example of a non-responding rsc:

# telnet myrsc
Trying ...
Connected to myrsc
Escape character is '^]'.
Connection closed by foreign host.

Check network config:

# /usr/platform/`uname -i`/rsc/rscadm shownetwork
IP Address: 
Gateway address:
Ethernet address:

Soft Reset:

#  /usr/platform/`uname -i`/rsc/rscadm resetrsc -s
Are you sure you want to reboot RSC (y/n)?  y

After doing a soft reset you should get a login prompt if not you can try a hard reset.

Hard Reset:

# /usr/platform/`uname -i`/rsc/rscadm resetrsc
Are you sure you want to reboot RSC (y/n)?  y

The rscadm command has many other options. You can even reset the rsc password with it.


# /usr/platform/`uname -i`/rsc/rscadm resetrsc -s
bash: /usr/platform/SUNW,Sun-Fire-V245/rsc/rscadm: No such file or directory

Well you may not have an rsc but an ALOM .. try

/usr/platform/`uname -i`/sbin/scadm resetrsc -s

For more information you can read more about the rsc command: