LinuxQuestions.org
Help answer threads with 0 replies.
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 03-16-2004, 01:58 PM   #1
digitalbrutus
LQ Newbie
 
Registered: Mar 2004
Posts: 25

Rep: Reputation: 15
Unhappy Forgot login pwd in RH7.2


If i forget my login password is there any way to login(if i know root pwd).

Can i change the entries in /etc/passwd and /etc/shadow ( that x and $...)
so that i can successfully log in.

I have heard that if i forget the root pwd, then typing linuxsingle will help to login as root. But its not working in my RH7.2

What are the ways????
 
Old 03-16-2004, 02:01 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
Quote:
If i forget my login password is there any way to login(if i know root pwd)
from what i gather from that information, i take it you know your root password ...
so why not log in as root and change the users password, or worse comes to worse
re-create the user account ?
 
Old 03-16-2004, 02:01 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
If you know roots password all you need to do is:

passwd <username>
and set it to something new ...


And it's not linuxsingle, it's linux single :} ...
single being a parameter passed to the kernel
on the lilo/grub prompt.


Cheers,
Tink
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
reset pwd to root's current pwd? ataraktos2 Linux - General 10 04-26-2005 05:13 AM
forgot password to login!!! .hack Slackware 17 11-16-2004 02:35 AM
changed pwd tekmorph Linux - Security 5 09-15-2004 10:47 PM
pwd Penguin666 Linux - General 1 11-19-2003 08:54 PM
installing RH7.2 or 7.3 fails; RH7.1 & W2k work great river Linux - Software 4 05-24-2002 05:45 PM


All times are GMT -5. The time now is 11:01 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration