Re: [Full-disclosure] Root password change
- From: Michael Holstein <michael.holstein@xxxxxxxxxxx>
- Date: Thu, 30 Mar 2006 13:11:55 -0500
if you're chrooted under /tmp (as it sounds from your email) you're out of luck, unless you have a way to escape the chroot due to a misconfiguration of that environment in the first place.
Easiest way to reset a lost UNIX password is boot from a "live CD" (eg: knoppix) .. mount the / partition of your hard drive (eg: mnt -t ext2 /dev/hda1 /mnt) then do "chroot /mnt" and execute "passwd root" from in there.
Then exit the chroot, umount /mnt, and reboot.
Viola'
Cheers,
Michael Holstein CISSP GCIA
Cleveland State University
Mockbee, Tom wrote:
I am logged in as a regular user but have root permission in the tmp directory through a different shell. I am stuck as to what is my next move to be able to change the root users password to one I know. Any help?
Tom
------------------------------------------------------------------------
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/
- Follow-Ups:
- Re: [Full-disclosure] Root password change
- From: spam
- [Full-disclosure] Re: Root password change
- From: Chris Adams
- Re: [Full-disclosure] Root password change
- References:
- [Full-disclosure] Root password change
- From: Mockbee, Tom
- [Full-disclosure] Root password change
- Prev by Date: [Full-disclosure] Root password change
- Next by Date: [Full-disclosure] Re: Re: ExplorerXP : Directory Traversal and CrossSiteScripting
- Previous by thread: [Full-disclosure] Root password change
- Next by thread: [Full-disclosure] Re: Root password change
- Index(es):
Relevant Pages
|