- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Forget Root password !!
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2004 09:07 PM
тАО08-31-2004 09:07 PM
Forget Root password !!
we have a RedHat 7.0 box.
but nobody knows root password.~
we have no OS CD box.
Urgent problem.
Any tips are available. Help
we are wating for your help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2004 09:44 PM
тАО08-31-2004 09:44 PM
Re: Forget Root password !!
Try this
Boot the machine in to singleuser mode.If you are lucky u will directly get the # prompt.Once after getting the # use the passwd command to change the root user password.
#passwd
Enter the password:
Reenter Password:
If you are able to do this ...good
All the best
SK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-31-2004 10:04 PM
тАО08-31-2004 10:04 PM
Re: Forget Root password !!
you can download floppy boot disc from redhat web or slackware.
ftp://sunsite.icm.edu.pl/pub/Linux/slackware/slackware-9.1/bootdisks/bare.i
ftp://sunsite.icm.edu.pl/pub/Linux/slackware/slackware-9.1/rootdisks/rescue.dsk
boot from floppy boot disk
mount you RedHat partition to /mnt
edit /mnt/etc/shadow end erase second field (hashed pass)
umount and reboot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2004 12:44 AM
тАО09-01-2004 12:44 AM
Re: Forget Root password !!
try at boot time like a param for kernel write "init=/bin/sh"
then on prompt line write "mount -n -o remount,rw /"
and now you can use passwd to change root password.
PF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2004 02:15 AM
тАО09-01-2004 02:15 AM
Re: Forget Root password !!
You may get lucky about 50% of the time if the admin used a simple password, the crack utility may be able to give you the password.
So:
cd /root
cp /etc/shadow .
run crack against shadow and see if it gives you root.
Then implement password list procedures that are safe.
If crack can't do it you are pretty much done. Get an upgrade cd and use regular uers to get data off the box prior to starting. Any upgrade higher than RH 8.x is destructive.
You can always download and create a RH 7 boot cd. I don't know if that gains you anything.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2004 02:49 AM
тАО09-01-2004 02:49 AM
Re: Forget Root password !!
from the lilo boot-press ctrl+x
then specify to boot to init 1.
This init logs you in as root without prompting for username/password.
From command line issue the passwd command
and reset the password for root.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-01-2004 03:25 AM
тАО09-01-2004 03:25 AM
Re: Forget Root password !!
Not that it happens often tough ;-).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-02-2004 04:44 AM
тАО09-02-2004 04:44 AM
Re: Forget Root password !!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2004 03:09 AM
тАО09-03-2004 03:09 AM
Re: Forget Root password !!
F.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2004 08:14 PM
тАО09-05-2004 08:14 PM
Re: Forget Root password !!
before boot type this kernel parameter: init=/bin/bash
You'll get bash console
then
mount -n -o remount,rw /
then
passwd
type new passwd !
br Jan