user name

Nils Kassube kassube at gmx.net
Wed Dec 5 20:46:55 UTC 2007


Jim Baldyga wrote:
> I'm a complete newbie at Ubuntu, and I set up a server about 9 months
> ago, and cannot for the life of me find the username and password.  I
> was able to get into GRUB and change my password, but I haven't quite
> figured out how to change the username?  Can you help.

Boot into recovery mode - then you are logged in as root. Enter the 
command:

cat /etc/passwd

There are all the usernames known to the system and some additional 
information you don't need. From that file you should remember the 
username. If you don't remember the password you can change it with this 
command:

passwd username

It will ask for a new password for the user.


Nils




More information about the ubuntu-users mailing list