Quantcast
Channel: Micro Focus Forums
Viewing all articles
Browse latest Browse all 11924

agents not running a non root user

$
0
0
i'm attempting to configure a system such that the groupwise agents run as a non root user following the instructions in this document: Support | Running the Linux GroupWise Agents as a Non-root User

the agents are stopped:

>pp | grep -iF gw
root 5395 9490 0 09:16 pts/1 00:00:00 grep --color=auto -iF gw

i've listed the username in the uid.conf file:
>cat /etc/opt/novell/groupwise/agents/uid.conf
groupwise

and the user exists and is functional:

>getent passwd groupwise
groupwise:x:110:114:groupwise services:/var/opt/novell/groupwise:/bin/false

>id groupwise
uid=110(groupwise) gid=114(groupwise) groups=114(groupwise),1000(groupware_admins)

>su -s /bin/bash groupwise

>whoami
groupwise

i've ensured that any existing uid.run files have been removed:

>find / -iname uid.run
>

when i start the agents:

>service grpwise start
Starting [testpo60.testdom60] done
Starting [testdom60] done
>

they appear to start successfully, but are still running as root:

>pp | grep -iF gw
root 5442 1 0 09:19 pts/1 00:00:00 /opt/novell/groupwise/agents/bin/gwpoa @testpo60.poa
root 5565 5442 0 09:19 pts/1 00:00:00 gwdca /ip=gsa.example.com /port=51200 /temp=/srv/groupwise/post_offices/testpo60/oftemp /dcapath=/opt/novell/groupwise/agents/bin/ /maxtime=600 /maxsize=20480
root 5570 1 0 09:19 pts/1 00:00:00 /opt/novell/groupwise/agents/bin/gwmta @testdom60.mta
root 5606 5565 0 09:19 pts/1 00:00:00 gwdca /gwdcawrkn=1 /ip=10.59.1.52 /port=51201 /l=en /maxtime=600 /maxsize=20480 /temp=/srv/groupwise/post_offices/testpo60/oftemp /template=/srv/groupwise/post_offices/testpo60/oftemp/gwdca/template /maxidletime=180
root 5633 9490 0 09:21 pts/1 00:00:00 grep --color=auto -iF gw

>cat /srv/groupwise/domains/testdom60/uid.run
root

>cat /srv/groupwise/post_offices/testpo60/uid.run
root

what a i doing wrong?

Viewing all articles
Browse latest Browse all 11924

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>