- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to configure syslogd do log all users connexio...
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
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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
01-23-2006 08:38 PM
01-23-2006 08:38 PM
how to configure syslogd do log all users connexions
I want to configure syslogd so that, all users connexions (succefful or failed) be logged to the syslog file. Could someone help me ?
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2006 08:53 PM
01-23-2006 08:53 PM
Re: how to configure syslogd do log all users connexions
something along the lines:
auth.debug /var/adm/syslog/syslog.log
in the /etc/syslog.conf will probably start you off. Perhaps does not give you all the details you may want.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2006 08:58 PM
01-23-2006 08:58 PM
Re: how to configure syslogd do log all users connexions
You need to edit /etc/syslog.conf file as
*.info;mail.none /var/adm/syslog/syslog.log
*.alert /dev/console
*.alert root,eric,kridle
*.emerg *
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2006 09:03 PM
01-23-2006 09:03 PM
Re: how to configure syslogd do log all users connexions
As others mentioned /etc/syslog.conf file what you need
Good Luck,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2006 09:03 PM
01-23-2006 09:03 PM
Re: how to configure syslogd do log all users connexions
-- vi /etc/syslog.conf
add a line at the start of the file:
user.debug /var/adm/syslog/user.log
in this way you will change the log file from syslog.log to user.log since you will be getting much more user logs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2006 09:06 PM
01-23-2006 09:06 PM
Re: how to configure syslogd do log all users connexions
It can be monitored as,
last -> successfull login
lastb -> bad login
It will use /var/adm/wtmp and /var/adm/btmp files.
To log informations in syslog.log then,
edit /etc/syslog.conf file as,
auth.*
Restart syslogd (aemon) as,
# /sbin/init.d/syslogd stop
# /sbin/init.d/syslogd start
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2006 09:07 PM
01-23-2006 09:07 PM
Re: how to configure syslogd do log all users connexions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2006 09:08 PM
01-23-2006 09:08 PM
Re: how to configure syslogd do log all users connexions
auth.info /var/adm/syslog/auth.log
Put this in syslog.conf and restart syslogd.
--
Muthu