FC4: su fails in init.d script

Vasiliy Gagin vasiliy.gagin at gmail.com
Mon Jul 11 00:19:26 UTC 2005


One of my scripts in /etc/rc.d/init.d directory (jboss to be exact) is
using "su - jboss" and is failing during start up with message:

su: Permission denied

It works fine if I login as root and run it through "service jboss start".

I was under impression that during start up scripts in init.d are run as a root.
Any ideas why is it happenning?
Is it SELinux trick again? So SELinux if I'm blaming you for no reason.




More information about the fedora-list mailing list