Subject: Re: init: can't exec /bin/bash for /etc/rc: Exec format error
To: None <felix@students.poly.edu>
From: George Michaelson <ggm@apnic.net>
List: current-users
Date: 06/25/2003 11:09:26
root defined in /etc/passwd to use bash? init somehow kicking into a fork/exec
based on passwd shell not script interpreter?

contents of /root/.[a-z]*

bash, link it statically not dynamically and see if the problem goes away?

(temporarily) replace /bin/bash by /bin/sh and see if the problem goes away

(ie mv /bin/bash /bin/bash.old; cp /bin/sh /bin/bash)

-George