To: "For users of Fedora Core releases" <fedora-list@xxxxxxxxxx>
Sent: Sunday, December 12, 2004 2:47 AM
Subject: Re: init script
Not knowing what your initi script looks like.. but you probably need to replace the piece that runs your command with :
/bin/su user -c "command"
Cheers,
Al
On Sun, 12 Dec 2004, Jake McHenry wrote:
Date: Sun, 12 Dec 2004 02:41:45 -0500 From: Jake McHenry <linux@xxxxxxxxxxxxxxxxx> Reply-To: For users of Fedora Core releases <fedora-list@xxxxxxxxxx> To: fedora-list@xxxxxxxxxx Subject: init script
Hi everyone. I made up my own init script for an IM server, just wondering how I can set it to run as a user instead of root? If I log into the user who is going to run it, the server runs fine, and it runs fine as root, but for security reasons I want to run it as another user. Is there a way I can do this in the init script?
Thanks, Jake McHenry Nittany Travel MIS Coordinator http://www.nittanytravel.com (570) 748-6611 x108
-- fedora-list mailing list fedora-list@xxxxxxxxxx To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
Thanks, that worked.. I forgot about that
Thanks,
Jake McHenry
Nittany Travel MIS Coordinator
http://www.nittanytravel.com
(570) 748-6611 x108