[syslog-ng] Run syslog-NG as a non root user!
Paul Robert Marino
prmarino1 at gmail.com
Mon Oct 15 18:12:51 CEST 2007
Actualy there are command line options to set the running user and group
( -u user -g group)using those options it will open the port then drop
privledges. What you need to look out for is warnings about FD's (file
descriptors) if you see an error message about a FD followed by a number
find the pid number and look in /proc/$pid/fd do an ls -l and you will
see what looks like symlinks check the permissions on the target of the
link which is corisponds to the number once you get past the file
permission issues it should work fine without changing port numbers.
On Fri, 12 Oct 2007 3:25 am, Russell Fulton wrote:
> You should be able to run syslog-ng as non root user so long as you are
> binding to ports above 1024.
>
> Wilson Lai wrote:
>>
>> Dear ALL,
>>
>> How could I start the Sylog-NG service as a non-root user? Is
>> there any guideline?
>>
>> Thanks.
>>
>>
>>
>> *Regards,*
>>
>> *Wilson Lai*
>>
>> System Engineer
>>
>> IT Dept., SJM
>>
>> Office ( : (853)2978585
>>
>> Mobile ( : (853)66506709
>>
>> Email +: : _wilsonlai at macausjm.com_
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> syslog-ng maillist - syslog-ng at lists.balabit.hu
>> https://lists.balabit.hu/mailman/listinfo/syslog-ng
>> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
>>
>>
> _______________________________________________
> syslog-ng maillist - syslog-ng at lists.balabit.hu
> https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
___________________________________________
The average person does a lot of work in the name of laziness!
Save youre self the effort by doing it right the first time.
Do it with free speech software.
More information about the syslog-ng
mailing list