[Anthill-pro] Can Anthill run as a user other than root?

Pacileo, Kenneth kenneth_pacileo at uhc.com
Thu Jun 5 16:26:02 CDT 2008


Peter, 

 

Yes, we start the server and all our agents as the ahpadm account. Our
Windows server and agents are set to run as a Windows service and use
the ahpadm account.

 

Our Solaris agents are started from /etc/rc3.d and linked directly to
the startup script.

/etc/rc3.d/S99ah3agent -> /tools/ahp_agent/trunk/unix/solaris/ah3agent

 

We had to modify the ah3agent script to get it to start correctly but
left in the line to su to the ahpadm account to start the agent.

...

su - "$ANTHILL_USER" -c "\"$SCRIPT\" start $ANTHILL_PID"

...

 

Our AIX agents followed a similar process. The startup is in the inittab
file while the shutdown is in the /etc/shutdown file:

cat /etc/inittab |grep ahp
ahp_start:2:once:/tools/ahp_agent/trunk/unix/AIX/ah3agent start >
/dev/console 2>&1

 

/etc/shutdown:

# Shutdown the Anthill application
/tools/ahp_agent/trunk/unix/AIX/ah3agent stop

 

We needed several modifications to the ah3agent script to get it to run
correctly on AIX though.

 

Regards,

Ken

 

 

 

________________________________

From: anthill-pro-bounces at lists.urbancode.com
[mailto:anthill-pro-bounces at lists.urbancode.com] On Behalf Of Steve
Boone
Sent: Thursday, June 05, 2008 5:24 PM
To: AnthillPro user and support list.
Subject: Re: [Anthill-pro] Can Anthill run as a user other than root?

 

They can run as any user you would like, as long as the user has correct
permissions. 

I usually create an anthill user and an anthill group, and have them
control all of the anthill processes. 

On Thu, Jun 5, 2008 at 5:02 PM, Peter Steele <psteele at maxiscale.com>
wrote:

You do this for the server and the agents? I'm actually more interested
in the agents running as something other than root. The last time I
tried this I recall I had some problem, but I don't recall what...

 

From: anthill-pro-bounces at lists.urbancode.com
[mailto:anthill-pro-bounces at lists.urbancode.com] On Behalf Of Yanko,
Curtis
Sent: Thursday, June 05, 2008 11:46 AM


To: AnthillPro user and support list.

Subject: RE: [Anthill-pro] Can Anthill run as a user other than root?

 

You run as root? We have root su to our ahpadm account so it runs as
that.

 

===

-Curt

W: 860.702.9059

M: 860.881.2050

 

 

________________________________

From: anthill-pro-bounces at lists.urbancode.com
[mailto:anthill-pro-bounces at lists.urbancode.com] On Behalf Of Peter
Steele
Sent: Thursday, June 05, 2008 2:38 PM
To: AnthillPro user and support list.
Subject: [Anthill-pro] Can Anthill run as a user other than root?

We'd like our builds to run as user "build" instead of root. Is this
possible? 

 



This e-mail, including attachments, may include confidential and/or 
proprietary information, and may be used only by the person or entity to

which it is addressed. If the reader of this e-mail is not the intended 
recipient or his or her authorized agent, the reader is hereby notified 
that any dissemination, distribution or copying of this e-mail is 
prohibited. If you have received this e-mail in error, please notify the

sender by replying to this message and delete this e-mail immediately.


_______________________________________________
Anthill-pro mailing list
Anthill-pro at lists.urbancode.com
http://lists.urbancode.com/mailman/listinfo/anthill-pro

 



This e-mail, including attachments, may include confidential and/or 
proprietary information, and may be used only by the person or entity to 
which it is addressed. If the reader of this e-mail is not the intended 
recipient or his or her authorized agent, the reader is hereby notified 
that any dissemination, distribution or copying of this e-mail is 
prohibited. If you have received this e-mail in error, please notify the 
sender by replying to this message and delete this e-mail immediately.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill-pro/attachments/20080605/dc3fe14f/attachment-0001.htm


More information about the Anthill-pro mailing list