Archive for April, 2007

how to recover the sun ray admin password

Sunday, April 15th, 2007

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:
  1. function rot13() {
  2. if [ $# = 0 ] ; then
  3. tr "[a-m][n-z][A-M][N-Z]" "[n-z][a-m][N-Z][A-M]"
  4. else
  5. tr "[a-m][n-z][A-M][N-Z]" "[n-z][a-m][N-Z][A-M]" <$1
  6. fi
  7. }

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!

a really deep view of the universe

Sunday, April 1st, 2007

i just stumbled upon the hudf. this is really awesome. you need to take a look at the bigger version of it - and read the explanations!


Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 2.0 License.