Re: FC4: su fails in init.d script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux