Forgot my UNIX username... how do I find it out?


Recommended Posts

If you can login at least as root, from the command line type:

more /etc/passwd

It'll list the passwd file with a list of all users on the system. You should spot the login name you made in there :)

Link to comment
Share on other sites

  • 2 weeks later...

in ubuntu you can recover it this way :

" Turn your computer on.

Press ESC at the grub prompt.

Press e for edit.

Highlight the line that begins kernel ???, press e

Go to the very end of the line, add rw init=/bin/bash

press enter, then press b to boot your system.

Your system will boot up to a passwordless root shell.

Type in passwd username

Set your password.

Type in reboot "

i dont know if works in Solaris too

Link to comment
Share on other sites

  • 1 month later...
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.