Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-04-2013, 01:42 PM   #1
LQ Newbie
Registered: Oct 2013
Distribution: Suse
Posts: 1

Rep: Reputation: Disabled
lost / forgot user name

Hi All, I'm a virtual with regards to Linux in it's various flavors. I loaded SuSe on a hdd that i archived some time ago, and have forgotten my user name; is there a quick recovery for that (SuSe 10 on a P4 box). I successfully reset the password , with forum assistance ~ great work - THANKS!! I was told something about getting to the library to see the users list.....
Old 10-04-2013, 02:53 PM   #2
Registered: Jul 2012
Distribution: Debian testing/stable, Sailfish OS, Android
Posts: 131

Rep: Reputation: 20
Well, in OpenSUSE you always have a privilleged user called root. This user can add users, remove users, change a password for any user. So you can just log in sa root and create another user. To see the users list in you system type in a terminal:
cat /etc/passwd
The user names will be in the first coulmn seperated from other information by colon.
Old 10-28-2013, 01:18 PM   #3
Registered: Jun 2011
Location: Danbury, CT, USA
Distribution: Kubuntu, Slackware, Debian, FreePBX
Posts: 72

Rep: Reputation: 22
Incidentally, if you don't remember the root password, but remember your own, you could boot from a livecd or bootable usb thumbdrive, mount the drive and access the /etc/passwd file in it from there. In fact, if you used a bootable liveCD to install OpenSUSE, you could use that disk to do this.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:38 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration