On Thu, Aug 28, 2003 at 09:20:47AM -0700 or thereabouts, Dave Banning wrote:
> All of a sudden, I can't login, even as root. I tried to set the 
> password of root to nil (because I happened to be logged in as root at
> the time) and that didn't work either.
> 
> Then, thinking that the machine was acting up, I rebooted. Now I am in 
> deeper. I can't even access the machine.
> 
> Any idea why this would happen, or more important, how I can get out?

Ctrl+Alt+Del
[if you get the fancy menu, choose "boot in single-user mode"; otherwise...]
Booting [kernel] in 9 seconds... <press space>
OK boot -s
[ ... ]

use /bin/sh
fsck -p
mount -a
ktrace -o /root/login.out login root
Password: <type your root password>
Login failed
<press Ctrl+C>
kdump /root/login.out | mail [EMAIL PROTECTED] -s "Re: can't login as anyone - not 
even as root!"

Note: my syntax for kdump/ktrace may be a bit off, see their man pages.

-- Josh

> 
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
> _______________________________________________
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to