- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Tracking telnet to secure shell access conversions
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
- 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
11-05-2003 03:23 AM
11-05-2003 03:23 AM
TIA,
Scott Lindstrom
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2003 03:30 AM
11-05-2003 03:30 AM
SolutionIt gives good output from /var/adm/syslog/wtmp
lastb command shows bad logins.
I'm attaching a login checker script you can modify for your purposes.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2003 08:21 AM
11-05-2003 08:21 AM
Re: Tracking telnet to secure shell access conversions
It turns out I'm not getting ssh logins logged via last (like some other posts I've found here on the forums), but as long as I can find who is using any of the other login methods, that solves my problem.
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2003 12:38 AM
11-06-2003 12:38 AM
Re: Tracking telnet to secure shell access conversions
Your syslog should be capturing access attempts whether failed or successful, plus it indicates which type of access the connection was. You could write a simple script to grep "connect" and filter the telnetd/sshd/ftp access from your syslog and write the output to a file. I have a script running from cron everyday to send me output (as below):
Nov 5 22:08:46 6C:xxxx telnetd[1215]: connect from ###.##.##.###
Nov 5 08:03:06 6E:xxxx sshd[2655]: Accepted password for userxx from xxx.xx.xx.xxx port 1690 ssh2
If you need the exact script, I can post.
HTH - Connie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2003 02:03 AM
11-06-2003 02:03 AM
Re: Tracking telnet to secure shell access conversions
My understanding is that I would have to issue 'inetd -l' to get the enhanced logging in syslog. This isn't something we want to do.
As long as I can get who is *not* using ssh, I can write the report I need to write.
Thanks for your reply. Being a Unix newbie, I love these forums!
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2003 03:59 AM
11-06-2003 03:59 AM
Re: Tracking telnet to secure shell access conversions
Scott