On Fri, Jul 12, 2002 at 06:45:02AM -0700, dan saavedra wrote: > somebody accidently change the root password of our linux box, is > there any other way wherein i can login using the backdoor? we don't > have access to any userid with superuser functions.
You don't use a backdoor. There shouldn't be any. I'm sure you can use the front door, though. I'm assuming you use LILO here. First attempt to get in via single mode. At the LILO prompt use "linux single" (replace "linux" with whatever image you have registered). If that asks you for your password (as do Debian boxen by default), then attempt to use a basic shell as init, like say "linux init=/bin/bash". If that still asks you for a password (my LILO configs do), you will need to boot using a boot diskette or rescue CD with something like "rescue root=/dev/hda5 init=/bin/bash". When you're in, just update the password using the `passwd` utility, or blank it out manually in the /etc/passwd or /etc/shadow file. --> Jijo -- Federico Sevilla III : <http://jijo.free.net.ph/> Network Administrator : The Leather Collection, Inc. GnuPG Key ID : 0x93B746BE _ Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph To leave: send "unsubscribe" in the body to [EMAIL PROTECTED] To subscribe to the Linux Newbies' List: send "subscribe" in the body to [EMAIL PROTECTED]
