how to recover the sun ray admin password

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:

[CODE]

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
}
[/CODE]

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!

This entry was posted in server based computing. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

One Trackback

  1. By stotti.blog() on March 3, 2008 at 5:03 pm

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

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Germany
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Germany.