LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 10-04-2013, 01:42 PM   #1
Avedepreda
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
redfox2807
Member
 
Registered: Jul 2012
Distribution: Kubuntu, Debian, Meego, Android
Posts: 116

Rep: Reputation: 16
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:
Quote:
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
paladin.michael
Member
 
Registered: Jun 2011
Location: Danbury, CT, USA
Distribution: Kubuntu, Slackware, Debian, FreePBX
Posts: 60

Rep: Reputation: 18
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.
 
  


Reply


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



All times are GMT -5. The time now is 09:21 AM.

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