Root Password Problem

General discussion about Linux, Linux distribution, using Linux etc.
Post Reply
adilkhan_86
Naik
Posts: 83
Joined: Mon Dec 29, 2003 12:07 pm
Location: Karachi
Contact:

Root Password Problem

Post by adilkhan_86 »

Aslamwaalekum
I have Grub Bootloder with redhat9 after editing /etc/hosts
after restrat the password not accepted as well as user password not accepted please help.
M.AdilZulqarnain(MCSA)
Landhi#4
kashif
Naib Subedar
Posts: 305
Joined: Wed Oct 15, 2003 2:44 am
Location: Okara

Post by kashif »

Whats the error message when you try to login?
**********************************************

As-Salaatu was-Salaamu Alaika Ya Sayyidi Ya Rasool ALLAH

**********************************************
LinuxFreaK
Site Admin
Posts: 5132
Joined: Fri May 02, 2003 10:24 am
Location: Karachi
Contact:

Re:

Post by LinuxFreaK »

Dear adilkhan_86,
Salam,

http://www.linuxpakistan.net/forum2x/vi ... .php?t=656

Best Regards.
Farrukh Ahmed
ishtiaq ahmed
Naik
Posts: 50
Joined: Thu Dec 23, 2004 8:15 pm
Location: lahore

Post by ishtiaq ahmed »

if u will post this question on the general form then u may get help there.
linuxgeek
Site Admin
Posts: 195
Joined: Wed Aug 07, 2002 8:00 pm
Location: Multan, Pakistan
Contact:

Post by linuxgeek »

Topic moved to General, Kindly see the Section details before posting in the forum.


Cheers

~uppal
Junaid Saeed Uppal
uppal at linux dot net dot pk
Cell : +92.345.8586045
auspicious
Naik
Posts: 56
Joined: Wed Apr 06, 2005 12:45 am
Location: Islamabad

Post by auspicious »

i have seen this bug in fedora core 2 where it usually happens if you turn off shadow/md5 etc password options during installation.

anywayz, create a bootable floppy and boot, once you get the bash prompt do 'chroot /mnt/sysimage' and then 'passwd root'

if it doesnt help then check the permission and ownership settings for /etc/passwd file should be root:root 650 i guess
To mess up a Linux box, you need to work at it; to mess up your Windows box, you just need to work on it, writes Scott Granneman.

Digital Thinker
Faraz.Fazil
Major General
Posts: 1024
Joined: Thu Jul 04, 2002 5:31 pm
Location: Karachi/Pakistan/Earth/Universe

Post by Faraz.Fazil »

No need to use rescue cd.

at the grub boot loader prompt. highlight linux entry press... e....to edit and add a -s (dash s) at the end and press b to boot.it will start linux in single user mode.

type:

passwd

enter new password and save.

then type reboot..to reboot and use the new password.
Linux for Life!
Post Reply