Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Forgotten Password in RedHat Linux
Name: j_m_arnold Date: December 12, 2002 at 07:16:27 Pacific OS: Redhat Linux 7.x CPU/Ram: 64 mb sdram
Comment:
I seem to have forgot my password to log in to the GUI of Red Hat Linux. Correct me if I'm wrong but the username root in Linux is the same as administrator in Windows. Does anyone have any suggestions or anything as to how I can retreive my password. Paswword Crack? Password Sniffer? Also, If I have to go through the command line to do this, how do I get it to boot to command mode instead of the GUI? Thanks
Name: malkowich Date: December 12, 2002 at 08:03:34 Pacific
Reply:
at boot prompt/selection
with LILO
press Ctrl+X to got to console.
Type - 'linux single' passwd username, update the password
with GRUB
select your kernel
press A to append add 'linux single' to the kernel line
passwd username, update the password
REBOOT
with both of these methods you will be dropped to a ROOT SHELL, use extreme caution.
0
Response Number 2
Name: 3Dave Date: December 12, 2002 at 08:04:12 Pacific
Reply:
You want to use a boot/root disk, mount your root partition and edit your /etc/passwd file. More info on how to do this can be given if required.
What you are looking for is a line like: root:Hkhj7865gGqwty:0:0:root:/:/bin/sh and change it to root::0:0:root:/:/bin/sh (ie remove the Hkhj7865gGqwty bit)
Reboot normally and you now have a blank root password (don't forget to change it once you've got in!)
To boot into text mode, at the lilo prompt type: linux init 3
Summary: Hi, In solaris we have inetd.conf file.Now i want the same file or same function of file in redhat linux 8.0.I think in linux xinetd.conf file will be there.If i want to declare my own scripts should ...