1. init reads a location of needed files from paths.h The SHELL is defined there. Maybe you can change the default shell only for single user in the init.c. Search for ':[sS1]:' regexp in this file ...
This may be a bit too late, but I would simply change the "/bin/sh" string that appears in the binary /sbin/init file. Use khexedit for that, for example. This is quick, dirty, may not work, but most probably will. Be sure to have a backup copy of the original /sbin/init, and also make sure that you have some kind of rescue disc to boot from (knoppix and alike) in the not-so-unlikely event that your computer will refuse to boot.
Eli
-- Web: http://www.billauer.co.il
-------------------------------------------------------------------------- Haifa Linux Club Mailing List (http://www.haifux.org) To unsub send an empty message to [EMAIL PROTECTED]
