init script

Jake McHenry linux at nittanytravel.com
Sun Dec 12 08:04:48 UTC 2004


----- Original Message ----- 
From: "Alan Horn" <ahorn at deorth.org>
To: "For users of Fedora Core releases" <fedora-list at redhat.com>
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 at nittanytravel.com>
>>Reply-To: For users of Fedora Core releases <fedora-list at redhat.com>
>>To: fedora-list at redhat.com
>>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 at redhat.com
> 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 




More information about the fedora-list mailing list