You might be able to chown the file and flip the sticky bit. It might be in the config file for the program. It might not be able to do it if the port(s) required are <1024 as root "owns" these.
Not much help, but another reply ;)
Regards Keith
-----Original Message----- From: main-bounces@lists.alug.org.uk [mailto:main-bounces@lists.alug.org.uk] On Behalf Of Brett Parker Sent: 21 March 2007 08:28 To: main@lists.alug.org.uk Subject: Re: [ALUG] How do I make a startup script run a program as adifferent user in SuSE Enterprise 10?
On Mon, Mar 19, 2007 at 03:10:23PM +0000, Chris Glover wrote:
It's been so long I cant remember how to do it.
Well, it depends on how SuSE bothers to start daemons, it depends on the daemon (some will fork themselves afterwards anyways, apache and exim for example), etc.
It might be that it's as simple as starting the daemon using su as has been pointed out further on, or it might be that it uses something akin to debian's start-stop-daemon. I haven't got a SuSE box "handy" to check, home has several debian boxes, work has several debian boxes and the odd CentOS box and our customers are generally RHEL.
It might not be that no one knows - it might just be that no one can check!
Cheers, -- Brett Parker
_______________________________________________ main@lists.alug.org.uk http://www.alug.org.uk/ http://lists.alug.org.uk/mailman/listinfo/main Unsubscribe? See message headers or the web site above!