lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Thu Mar 30 19:12:58 2006 From: michael.holstein at csuohio.edu (Michael Holstein) Subject: Root password change 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/
Powered by blists - more mailing lists