LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-27-2004, 04:39 PM   #1
trinitycomu
LQ Newbie
 
Registered: Jun 2004
Location: Turkey
Distribution: Red Hat 9.0
Posts: 4

Rep: Reputation: 0
problem about root password


Hi,
I wanted to open my session with my ID and password three days ago, but i can't login. Probably I've forgotten my root password or something like that, so i can't login to my sytem now.
I tried once and twice again to login, but now a warning like "your accout has expired, contact with system administor" has appeared.
I read all the related forum topics here, but they didn't helped me ;(
I tried to delete root password from Knoppix(/mnt/hda/etc/shadow) but i couldn't do it, too.
Then i read here something like it;
****************************
lilo: linux single
# passwd root
# Change password for root:
********************
But i don't know how to do it (how can i find Lilo? - once i tried from Lilo which is in Knoppix but it didn't work).

What can i do now to login my sytem again?

( I have XP and RedHat 9.0 on the same computer in different partitions).

Regards,
Pinar.
 
Old 06-28-2004, 12:25 AM   #2
kevinalm
Member
 
Registered: Oct 2003
Location: Iowa
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288

Rep: Reputation: 30
Boot rh9 install cd #1.

Follow the on screen instructions to enter rescue mode.

It should automount your linux system iirc at /mnt/sysimage, if you read closely it will tell you where.

chroot /mnt/sysimage (or wherever).
password root

After you're done, type

exit
reboot
 
Old 06-28-2004, 12:31 AM   #3
trinitycomu
LQ Newbie
 
Registered: Jun 2004
Location: Turkey
Distribution: Red Hat 9.0
Posts: 4

Original Poster
Rep: Reputation: 0
Hi,
I don't have Cd's now, but i'll buy as soon as possible. But i prefer to install Mandrake 10.0.
Will it want my root password again when i tried to install Mandrake on it?
Is it possible to setup Mandrake on RedHat?
Regards,
Pinar.
 
Old 06-28-2004, 01:18 AM   #4
kevinalm
Member
 
Registered: Oct 2003
Location: Iowa
Distribution: LFS 5.0, building 6.3, win98se, multiboot
Posts: 288

Rep: Reputation: 30
There should be no problem installing madrake on the partition(s) where rh resides, but be aware that this will wipe _all_ data you have in rh. If there is anything that you want to save in your current linux, save it before installing mandrake.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How could normal user obtain root password or change root password ckamheng Debian 18 02-18-2009 10:28 PM
Strange root password problem harken Linux - Security 3 02-17-2005 01:12 PM
root password problem dbarracuda SUSE / openSUSE 3 10-31-2004 05:11 PM
root password problem alternative Linux - Laptop and Netbook 6 06-06-2004 02:17 PM
Mandrake root password problem slipsy Linux - Newbie 3 05-09-2003 02:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:39 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