LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 04-07-2005, 03:16 AM   #1
mrpc_cambodia
Member
 
Registered: Jun 2004
Posts: 131

Rep: Reputation: 15
what is LOCAL0 through LOCAL7 ?


hey, can somebody here explain me what is LOCAL0 through LOCAL7?

Thanks,
 
Old 04-07-2005, 07:55 AM   #2
ddaas
Member
 
Registered: Oct 2004
Location: Romania
Distribution: Ubuntu server, FreeBsd
Posts: 472

Rep: Reputation: 30
man syslog.conf
 
Old 04-07-2005, 10:18 PM   #3
mrpc_cambodia
Member
 
Registered: Jun 2004
Posts: 131

Original Poster
Rep: Reputation: 15
hey, i checked syslog.conf already, but i don't see any mention to LOCAL.
 
Old 04-07-2005, 10:20 PM   #4
mrpc_cambodia
Member
 
Registered: Jun 2004
Posts: 131

Original Poster
Rep: Reputation: 15
Oh! another thing that need an explaination again.

what is named pipes? i saw somewhere FIFO is refered to as named pipes?

what is that?
 
Old 04-08-2005, 03:36 PM   #5
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 46
That's a tough one ... Named Pipes
 
Old 04-08-2005, 09:39 PM   #6
mrpc_cambodia
Member
 
Registered: Jun 2004
Posts: 131

Original Poster
Rep: Reputation: 15
anyway, can somebody help me with the LOCAL?


Thanks,
 
Old 12-20-2010, 03:53 AM   #7
elmohandesRagab
LQ Newbie
 
Registered: Dec 2010
Posts: 3

Rep: Reputation: 0
rsyslog.conf file

the /etc/rsyslog.conf file exists in the BSD and linux distributions
in contrast to the SYSV-driven systems such as HP-UX and Solaris which use the file /etc/syslog.conf

the rsyslog.conf is the configuration file of /sbin/rsyslogd
you can find out about local0 to 7 by

man rsyslog.conf
 
Old 12-20-2010, 05:01 AM   #8
elmohandesRagab
LQ Newbie
 
Registered: Dec 2010
Posts: 3

Rep: Reputation: 0
Lightbulb local0-local7

another thing is that :
local0-local7 are local facilities defined by the user, to log specific deamons

for example:
you can change the sshd_config file ( which is the configuration file of the sshd deamon )
from
Syslogfacility authpriv
to
Syslogfacility local7

and add the following line in the /etc/rsyslog.conf file
local7.* /var/log/sshd.log
after restarting rsyslogd and sshd, any ssh sessions to the server will be logged in the /var/log/sshd.log file
 
Old 07-17-2015, 05:50 PM   #9
StarMagus
LQ Newbie
 
Registered: Sep 2013
Location: Ags, Mexico
Distribution: Fedora
Posts: 1

Rep: Reputation: Disabled
Local0 to local7 can be personalized as above

But the default is already included in /etc/rsyslog.conf

# Save boot messages also to boot.log
local7.* /var/log/boot.log
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 07:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration