LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   centos 5.5 need to reset gui password not the root password (https://www.linuxquestions.org/questions/linux-newbie-8/centos-5-5-need-to-reset-gui-password-not-the-root-password-4175530646/)

jmiller 01-10-2015 04:38 PM

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

EDDY1 01-10-2015 04:44 PM

Change <username> to your user name.
Quote:

passwd <username>
If you don't know the username
Quote:

cd /home
ls

jmiller 01-10-2015 04:51 PM

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.

astrogeek 01-10-2015 05:01 PM

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.

jmiller 01-10-2015 05:12 PM

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.

jmiller 01-10-2015 05:14 PM

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

EDDY1 01-10-2015 05:21 PM

Did you reboot to see if password works?
Quote:

reboot
Did you
Quote:

cd /home
&
Quote:

ls

astrogeek 01-10-2015 05:22 PM

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?

jmiller 01-10-2015 05:36 PM

OH MY I am in.

Thank you both for responding to my question

astrogeek 01-10-2015 05:40 PM

Quote:

Originally Posted by jmiller (Post 5298860)
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!


All times are GMT -5. The time now is 04:20 PM.