- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Which facility dose ftpd use?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2005 04:51 PM
04-04-2005 04:51 PM
Which facility dose ftpd use?
My syslog.conf is following...
*.info;mail.none /var/adm/syslog/syslog.log
kern.info /var/adm/syslog/syslog.kern
daemon.info /var/adm/syslog/syslog.daemon
user.info /var/adm/syslog/syslog.user
uucp....
....
I found message from ftpd in syslog.log.
but, I can't find message in any syslog.{facility}.
why???
And I want the list which facilities&priority OS program uses.
thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2005 05:09 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-04-2005 10:45 PM
04-04-2005 10:45 PM
Re: Which facility dose ftpd use?
Thanks Ermin Borovac.
I'll try it.
Is there list like that...
ftpd -> local5
su -> auth
sendmail -> mail
...
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2005 11:17 AM
04-05-2005 11:17 AM
Re: Which facility dose ftpd use?
LOG_KERN
Messages generated by the kernel. These cannot be generated by any user processes.
LOG_USER
Messages generated by random user processes. This is the default facility identifier if none is specified.
LOG_MAIL
The mail system.
LOG_DAEMON
System daemons, such as inetd(1M), ftpd(1M), etc.
LOG_AUTH
The authorization system: login(1), su(1), getty(1M), etc.
LOG_SYSLOG
Messages generated internally by syslogd daemon.
LOG_LPR
The line printer spooling system: lp(1), lpsched(1M), etc.
LOG_NEWS
Messages generated by the news system.
LOG_UUCP
Messages generated by the UUCP system.
LOG_CRON
Messages generated by the CRON daemon.
LOG_LOCAL0
Reserved for local use. Similarly for LOG_LOCAL1 through LOG_LOCAL7
Someone else might know of more comprehensive list.
Also as I mentioned in the previous post, you can run syslogd with -v option and use the following list to find out what facility/level a program is using.
LOG_KERN A LOG_EMERG 0
LOG_USER B LOG_ALERT 1
LOG_MAIL C LOG_CRIT 2
LOG_DAEMON D LOG_ERR 3
LOG_AUTH E LOG_WARNING 4
LOG_SYSLOG F LOG_NOTICE 5
LOG_LPR G LOG_INFO 6
LOG_NEWS H LOG_DEBUG 7
LOG_UUCP I
LOG_CRON J
LOCAL0-7 Q-X
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2005 11:38 AM
04-05-2005 11:38 AM
Re: Which facility dose ftpd use?
According to this man page, ftpd uses "daemon".
But it uses local5...
Why?
If I can see source code, I want to do
"grep openlog *.c".
thaks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2005 02:45 PM
04-05-2005 02:45 PM
Re: Which facility dose ftpd use?
Apr 5 01:18:44 LOCAL5:INFO ftpd[10090]: FTP session closed
Apr 5 01:19:00 LOCAL5:INFO ftpd[10091]: ANONYMOUS FTP LOGIN FROM ghost [192.168.
2.5], ftp
Apr 5 01:19:00 LOCAL5:INFO ftpd[10091]: FTP session closed
Apr 5 21:59:06 DAEMON:INFO xntpd[20240]: synchronized to 67.128.71.75, stratum=2
Apr 5 21:59:41 DAEMON:INFO xntpd[20240]: synchronized to 18.26.4.105, stratum=1
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-05-2005 08:17 PM
04-05-2005 08:17 PM
Re: Which facility dose ftpd use?
I see why ftpd use local5.
Thank for script. I try it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2005 01:07 AM
04-06-2005 01:07 AM
Re: Which facility dose ftpd use?
Greetings Kiyoshi Miyake,
Yes, ftpd uses local5 - unless you use tcpwrappers. Then it's all fluffy.
With TCP Wrappers, for some strange reason - ftpd gets logged under mail.info:
mail.info /var/adm/syslog/ftpd.log
works on our machines where tcp-wrappers are used.
David de Beer.