LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 01-10-2015, 04:38 PM   #1
jmiller
LQ Newbie
 
Registered: Jan 2015
Posts: 5

Rep: Reputation: Disabled
centos 5.5 need to reset gui password not the root password


I found an old laptop that has centos 5.5 installed. I reset the root password, but I need to reset the gui password. Is there a way to view this password or reset it? I have not worked with Linux over 5 years and am rusty on all the commands
 
Old 01-10-2015, 04:44 PM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Change <username> to your user name.
Quote:
passwd <username>
If you don't know the username
Quote:
cd /home
ls

Last edited by EDDY1; 01-10-2015 at 04:46 PM.
 
Old 01-10-2015, 04:51 PM   #3
jmiller
LQ Newbie
 
Registered: Jan 2015
Posts: 5

Original Poster
Rep: Reputation: Disabled
thank you for your quick response.
I was not clear in my post and I apologize.
I do not remember either the login or the password
currently I am stuck at the login page.

I really just want to get on the gui and use it as a quick reference in my craft room. But without the gui log on information I am afraid I will have to pack up this laptop and never use it.

all I remember is how to reset the root password - which I did. But I do not remember much beyond that. In fact I have reached out an am reviewing some of the tutorials on this site.
 
Old 01-10-2015, 05:01 PM   #4
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,269
Blog Entries: 24

Rep: Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206
If you can reset the root password, you can reset any user password the same way.

Is it possible that you reset something other than the root password?

Just for clarity can you tell us how you reset the root password, then we can maybe tell you how to reset the user passwords from that point.
 
Old 01-10-2015, 05:12 PM   #5
jmiller
LQ Newbie
 
Registered: Jan 2015
Posts: 5

Original Poster
Rep: Reputation: Disabled
Smile

Steps I took to reset root
1. reboot system
2. used space bar to interrupt when launching grub
3. highlighted the grub version (2.6.18-194.32.1.e15) and pressed a
4. typed 1 after the grub append> ro root=/dev/volgroup00/logvo100 rhgb quiet 1
5. pressed enter
6. typed passwd after the sh-3.2#
7. reset my password - typed in twice

Now what I am stuck :O

My issue this was installed by me in 2009 on an old IBMthinkpad for a Linux class.
I just found this laptop and could use it if I can log into it as it still has a parallel port I can use to an old laser printer I still use for my craft room

I have forgotten the (I call it GUI) login and password, because this laptop was long forgotten as well.
 
Old 01-10-2015, 05:14 PM   #6
jmiller
LQ Newbie
 
Registered: Jan 2015
Posts: 5

Original Poster
Rep: Reputation: Disabled
Another question - would it be easier just to set up a new user for the GUI portion?
If so is there a tutorial on how to do that?

Just round tabling some ideas
 
Old 01-10-2015, 05:21 PM   #7
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Did you reboot to see if password works?
Quote:
reboot
Did you
Quote:
cd /home
&
Quote:
ls

Last edited by EDDY1; 01-10-2015 at 05:22 PM.
 
Old 01-10-2015, 05:22 PM   #8
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,269
Blog Entries: 24

Rep: Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206
Ah! Then you did reset the root passwd.

So just do the same thing down to step 6, where you need to use passwd username instead.

If you don't remember the user name, just get to step 6, then type ls /home which will show you the home directory names (i.e. user names) of users on that machine. Then use those to reset passwords.

So like this except with your actual user names...

Code:
First, find the usernames...

ls /home
ftp/ myself/ somebodyelse/

Then...

passwd myself
(enter new password at prompt)

passwd somebodyelse
(enter new password at prompt)

reboot to GUI
login as myself or somebodyelse with the new password
What could be easier than that?

Last edited by astrogeek; 01-10-2015 at 05:27 PM. Reason: tpos, typs, typos
 
Old 01-10-2015, 05:36 PM   #9
jmiller
LQ Newbie
 
Registered: Jan 2015
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thumbs up

OH MY I am in.

Thank you both for responding to my question
 
Old 01-10-2015, 05:40 PM   #10
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,269
Blog Entries: 24

Rep: Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206Reputation: 4206
Quote:
Originally Posted by jmiller View Post
OH MY I am in.

Thank you both for responding to my question
Great! You are welcome!

I hope you find it to be a happy homecoming!

And welcome to LQ by the way!
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] reset root password in CentOS 5.5 leekin Linux - Newbie 12 12-07-2012 03:18 AM
Debian GUI Logon Password Reset Harrilald Debian 3 06-18-2010 05:31 PM
How to retrieve( or reset) root password in Mandrake Linux, as I forgot my password? Reghunath Linux - Software 4 05-08-2008 04:11 AM
Reset root password in console, still the same in GUI jlinkels Ubuntu 4 01-21-2008 07:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:11 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration