From: Gerry George (ggeorge@bu.edu)
Date: 04/17/93


From: ggeorge@bu.edu (Gerry George)
Subject: **URGENT HELP Wanted 'init: exec failed' **
Date: 18 Apr 1993 01:32:47 GMT

I was trying to "fix" the permissions on my system (SLS 0.99pl6). I
changed 'login' and a couple more programs to non-suid.
 
I rebooted my system and it came up as normal - almost.
rc ran, called rc.local, which in turn called rc.net. All of the drives
are mounted, swap partition is initialized, and the date prompt is
echoed on screen. However, just
before giving the login prompt, I get the error messages
        'init: exec failed'
9 times, then the system reboots.
 
I logged in with a fresh diskette, changed the permissions of login back
to suid root, commented out rc.net - same thing.
                                                  
I also commented out rc.local from rc, no luck.
 
Apparently, it is something at the very end of the boot/initialize
process which dies. I can't figure out what it is.
 
 
My rc file (only relevant lines shown):
 
#!/bin/sh
PATH=/bin:/usr/bin:/etc
 
/etc/update &
/bin/ctrlaltdel soft
 
/bin/rm -f /etc/mtab* /etc/nologin /etc/utmp
>/etc/utmp:/bin/chmod 444 /etc/utmp
touch /etc/utmp
 
/bin/mount -av
 
/bin/mount /dev/hda3 /usr
/bin/mount /dev/hda4 /home
/bin/mount /dev/hdb1 /user
/bin/mount /dev/hdb2 /pub
 
/bin/swapon /dev/swap
 
rm -f /usr/spool/uucp/LCK*
rm -f /tmp/*
 
# /bin/sh /etc/rc.local (commented out for diagnostics)