Thank you guys, Replacing su with runuser solves the problem. Turning on SELinux is really deprecated my scarce knowledge of linux. :) On 7/11/05, Markku Kolkka <markkuk@xxxxxxxxx> wrote: > Vasiliy Gagin kirjoitti viestissään (lähetysaika maanantai, 11. > heinäkuuta 2005 03:19): > > 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? > > I have encountered the same bug: > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=160662 > > Try the "runuser" command as a workaround. > Add your experiences as comments to the bug. > > -- > Markku Kolkka > markku.kolkka@xxxxxx > > -- > fedora-list mailing list > fedora-list@xxxxxxxxxx > To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list >