- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- No Login info in the syslog
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
09-26-2002 02:18 AM
09-26-2002 02:18 AM
I noticed that couple of my servers do not log LOGIN info (even root logins) in to the syslog. I have compared /etc/inted.conf /etc/syslog.conf with other servers and they are same. What else do I need to check to make this work.
Thanks in advance.
Harry
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2002 02:21 AM
09-26-2002 02:21 AM
Re: No Login info in the syslog
The commands "last" and "lastb" will display logins, and failed logins.
Alan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2002 02:22 AM
09-26-2002 02:22 AM
Re: No Login info in the syslog
Is "syslogd" running?
Christian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2002 02:33 AM
09-26-2002 02:33 AM
Re: No Login info in the syslog
Syslogd is running on these servers.
root 1893 1 0 Sep 7 ? 0:19 /usr/sbin/syslogd -D
But when you login on the box does it mean that it keeps track only if you " su " to any other user like " su - oracle "
Thanks,
Harry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2002 02:46 AM
09-26-2002 02:46 AM
Re: No Login info in the syslog
HP-UX will not log login attempts in /var/log/syslog/syslog.log like linux.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2002 04:05 AM
09-26-2002 04:05 AM
SolutionIf you wish to track successful logins, you 'var/adm/wtmp' must be present. If not, touch it or redirect /dev/null to it and make its permissions 644.
If you wish to log unssuccessful logins, 'var'adm/btmp' must be present. Create it the same way you do 'wtmp' but leave its permissions 600. You do not want non-root users reading the mistyped information therein.
Both of these files grow without bounds so redirect /dev/null to them to trim them. If you wish to keep part of their contents, use 'fwtmp' to manipulate them (see its man pages).
Use 'last' to view 'wtmp'. Use 'lastb' to view 'btmp'.
Should you ever wish to stop logging into these files, simply remove one or both acording to your needs.
Regards!
...JRF...