[SOLVED] centos 5.5 need to reset gui password not the root password
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.