7 messages in com.perforce.perforce-user[p4] RedHat Linux 6.0
FromSent OnAttachments
Frank Merrow24 Sep 1999 08:13 
Rob Chandhok24 Sep 1999 08:33 
tr...@treysoft.com24 Sep 1999 08:51 
Stephen Vance25 Sep 1999 13:14 
Mark Blair27 Sep 1999 09:59 
Mark Lentczner27 Sep 1999 11:09.tgz
Frank Merrow03 Oct 1999 10:22 
Subject:[p4] RedHat Linux 6.0
From:tr...@treysoft.com (tr@treysoft.com)
Date:09/24/1999 08:51:18 AM
List:com.perforce.perforce-user

On Fri, Sep 24, 1999 at 11:33:23AM -0400, Rob Chandhok wrote:

At 8:13 AM -0700 9/24/99, Frank Merrow wrote:

2. Getting p4d to always run as the "perforce" user I have setup. It seems to start as the user name.

Make it setuid after you do a chown to perforce.perforce.

3. I'd really rather have p4d startup as a full deamon at boot time rather than be required to start it as a user. I have nosed around in the /etc files and there are several likely looking places to hack in the startup, but not any where it would be an obvious and natural addition.

You can start it up in /etc/rc.d/rc.local, that's a pretty safe place.

We actually made a little init style script for starting and stopping the p4d processes, but we call it from rc.local.

You might consider starting it from inetd. p4d has a command line switch just for this purpose. You can then use the tcpwrapper stuff to add a bit more control over who can connect to it.

-- Trey