- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Telnet loging
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
12-05-2006 06:19 AM
12-05-2006 06:19 AM
I am trying to find a way to log all the telnet connectons made by hostname and save them to a log file /var/adm/teld.log
Is there any way to do that...?
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2006 06:24 AM
12-05-2006 06:24 AM
SolutionYou can download from here:
http://hpux.cs.utah.edu/
Look for TCP Wrappers 7.6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2006 06:24 AM
12-05-2006 06:24 AM
Re: Telnet loging
execute last -R |more
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2006 06:43 AM
12-05-2006 06:43 AM
Re: Telnet loging
If I understand you correctly, you are interested in logging every telnet session initiated from a certain host. If this is correct, consider creating a wrapper script for the telnet binary. Have the script record its positional parameter, $USER, 'who -u | awk "{print $8}"', etc. in a logfile, and then pass the positional parameters on to telnet. Hide the telnet binary from your users, and then alias the script as 'telnet'.
For extra security:
1) # chmod 550 renamed_telnet
2) Make sure your users aren't a member of the telnet binary's group.
3) Make sure renamed_telnet and telnet_wrapper.sh have the same group.
4) # chmod 2555 telnet_wrapper.sh
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2006 06:52 AM
12-05-2006 06:52 AM
Re: Telnet loging
This will keep me busy for a bit...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2006 07:00 AM
12-05-2006 07:00 AM
Re: Telnet loging
try grep -i telnet /var/adm/syslog/syslog.log.
Nate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2006 07:03 AM
12-05-2006 07:03 AM
Re: Telnet loging
Nov 27 13:18:40 unix-2 inetd[1242]: telnet/tcp: Added service, server /usr/lbin/telnetd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2006 07:19 AM
12-05-2006 07:19 AM
Re: Telnet loging
I must have some service turned on, I have the IP address listed in my output.
Natalie