From: Jason A. P. <pat...@pc...> - 2004-02-14 04:12:21
|
Ian Latter wrote: >Yes you can get to a cmd prompt without init. Change the boot >parameters in the default xml file such that "init=/bin/sh". > > I tried that. It didn't work. It just went ahead and ran init anyway and booted up all the way. >(boot prompt equiv is "boot: vmlinux init=/bin/sh" or similar) Its >an old recovery/hacking technique. > > Yep. I tried putting multiple <bootparams>...</bootparams> entries in the file. Nothing appears to work. Also, if 'root=/dev/cobd0' (or whatever) is not first in the <bootparams> entry, the kernel panics saying it cannot mount the root device and to please specify one. It appears that all items after 'root=...' are ignored. > >----- 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/ > > > >------------------------------------------------------- >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 > > > -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. |