From: Ian L. <Ian...@mq...> - 2004-02-14 02:11:22
|
Yes you can get to a cmd prompt without init. Change the boot parameters in the default xml file such that "init=/bin/sh". (boot prompt equiv is "boot: vmlinux init=/bin/sh" or similar) Its an old recovery/hacking technique. ----- Original Message ----- >From: "andre" <avb...@gm...> >To: <col...@li...> >Subject: Re: [coLinux-devel] Single user mode (i.e., kernel commandline parameters) >Date: Sat, 14 Feb 2004 02:52:25 +0100 > > On Saturday 14 February 2004 07:58, Jason A. Pattie wrote: > > How do I get to a command prompt without running init (i.e., I messed > > with my /etc/shadow file and stopped myself from even being able to > > login)? I don't even think single user mode will help me at this point. > > > > Thanks. > You don't (maybe not true when you start it up in initlevel 1) > > But you can mount your partition from an other (co)linux instal and chroot to > your partition and fix it. > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > coLinux-devel mailing list > coL...@li... > https://lists.sourceforge.net/lists/listinfo/colinux-devel > -- Ian Latter Internet and Networking Security Officer Macquarie University Meet me at the Australian Unix and open systems User Group (AUUG) Security Symposium; 2004 http://www.auug.org.au/events/2004/security/ |