Hi,
I have a script which contains a command:
Code:
...
daemon --user $JBOSS_USER LAUNCH_JBOSS_IN_BACKGROUND=1
...
As I run this script under root there is no problem. But as I run this script under other user I got error as:
Code:
runuser: cannot set groups: Operation not permitted
Can only root run the daemon?
Thomas