you have forgotten the password to the sun ray administrator interface? don’t worry, this is a quick guide to retrieve it using some simple shell commands. the key to success is the file /etc/opt/SUNWut/utadmin.pw – it contains an ascii string which is the administrator password.
what, plain text passwords, you may ask? of course not… the string is “cyphered” by the rot13 algorithm. so you can get back the password by decrypting the mentioned string it with a rot13 tool.
you can do this on the web using this or this online tool or offline using the following bash script:
function rot13() {
if [ $# = 0 ] ; then
tr "[a-m][n-z][A-M][N-Z]" "[n-z][a-m][N-Z][A-M]"
else
tr "[a-m][n-z][A-M][N-Z]" "[n-z][a-m][N-Z][A-M]" < $1
fi
}
after retrieving the original password you can use it further or change it using the /opt/SUNWut/sbin/utpw command. it changes both passwords in the sun ray data store (srds) and the local file /etc/opt/SUNWut/utadmin.pw
good luck!


One Trackback
[...] how to recover the sun ray admin password April 15th, 2007 [...]