LeRoy Cressy on 15 Sep 2005 16:05:51 -0000 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 gyoza@comcast.net wrote: > Christopher M. Jones wrote: > > >>No, no, install was fine! Beautiful! The problem was that I tried to use >>etherconf and got locked out. The problem was that etherconf put >>copernicus.example.com into the hostname file, and then didn't reload >>sudoers. So I booted with a livecd, chrooted, and set a root password >>(enabled the root account). Then I was free to figure out the problem >>with sudo and fix it. It's all good now. Thanks, everyone, for your >>suggestions. >> >> > > For future reference, you might have been able to boot into single user > mode and get in without a password. booting into single user mode should ask you for the root password. /etc/inittab shoule contain something like: # What to do in single-user mode. ~~:S:wait:/sbin/sulogin wait The process will be started once when the specified runlevel is entered and init will wait for its termination. Check the man page for inittab. Most systems require the root password to enter single user mode. If you are forced to log in without a password you need a boot disk with chroot on it. Knoppix and Tom's root/boot disk are handy beside the installation CD for your distribution if it has the ability to access a shell terminal. Using a boot disk is only required in dire circumstances like the master boot record is destroyed, or a hard disk failure. For most situations, booting into single user mode and providing the root password should be sufficient. - -- Rev. LeRoy D. Cressy mailto:leroy@lrcressy.com /\_/\ http://lrcressy.com ( o.o ) Phone: 215-535-4037 > ^ < FAX: 215-535-4285 gpg fingerprint: 62DE 6CAB CEE1 B1B3 359A 81D8 3FEF E6DA 8501 AFEA For info on enigmail: http://lrcressy.com/linux/mozilla.pdf For info on gpg: http://www.gnupg.org/ Jesus saith unto him, I am the way, the truth, and the life: no man cometh unto the Father, but by me. (John 14:6) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Debian - http://enigmail.mozdev.org iQIVAwUBQymba3lsxrSGsIsqAQr6dhAA28ulJukIP+FYaUsRvHPS3fAnJqk60Qc4 5Ej64K/6RTgickDoPojoi5lJstD+EsPljH5sojJ9ibmCrGV6AzPFV9TDU6lI5bXZ 5bluShbl45HuYOp7Yao7+i4Oc/+xMzwbARRXdVwjCISDUw+1VFWiY7hIuKehMMtd NLC1P/OD5af6AN3cB3FhyojgT0zzc20IA0lkKi3EB1JCLFPwHPobsK9Ny1F51Zn+ bpH6KY3Dcf21lijxVE1hNLZ8NbeCjwKVv1yww9niO1UqfsQCxR4qUB6/3rsSo8hi sT5RqTXEuvW2Zr56Y4xN9mReY+ppRkgSqHGuvowrZutgp2RYCZfA37Jns4UQo1gM qBgkPXxYbU1PhnAukkcTq7Sm7QHuWxKEk5VcRWhMPZBQm6HC3KZGqJtkcb4dsBVd 625JoLSr4WGGmHcb2DxbFTXiGTEf+SD+o08Ghpg3pVgBeodgclkTchueMShO56mw voce8I9zp1TS+IFQ3lNPvXeBIGpsPM/g6LnKLKHPb7W45F2SBidXlVfx0V1NlYj0 p5qhgIig8up+yDQtBSvqqtUYV5qWHrQ1MGKEMFmu/VRr/9X9Mgg9RLBOcAkeWqSh YYrpz3CEzDDsyvxQVBrpQ0sJpLX9IutDw+S/RvIhvQxsM6qoyWc0GE0iBNLIHupO X1LjZwOH7Bc= =UI2y -----END PGP SIGNATURE----- ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|