I have two identical machines, both running fedora core 4.
Plain installs, no kernel mods, generic.
I'm trying to run a user script from either init.d or rc.local.
The original machine, works fine, no errors.
My new machine gives me: "su: /bin/bash: permission denied" when booting up.
However, I can run the ./rc.local script as root and it works fine, doesn't work on boot up.
I tried to add another user and run a script in its home area, also get the same error.
I've checked all the permissions on the /home, /home/user directories, all are 755 or so.
I've checked all the permissions on /etc and it's child directories, all 755.
Again, works when I manually run it, doesn't work on boot up.
Basically the line looks like:
su - user -c '/home/user/dosomescript.sh'