- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Creating A Log File For Modem Activity
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
07-05-2001 09:59 AM
07-05-2001 09:59 AM
Creating A Log File For Modem Activity
1. Records connection time and duration.
2. (if possible) Records what has been typed.
What would I need to monitor to record (if possible) this information?
Also, aside from restricting dial in completely, using GSP in 11.0, are there otherways I can restrict which users can dial in?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2001 10:11 AM
07-05-2001 10:11 AM
Re: Creating A Log File For Modem Activity
cat /etc/wtmp | fwtmp | grep /dev/ttyxxx to
list all logins into the modem device.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2001 11:55 AM
07-05-2001 11:55 AM
Re: Creating A Log File For Modem Activity
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2001 03:56 AM
07-06-2001 03:56 AM
Re: Creating A Log File For Modem Activity
The vendor calls in, authenticates and then the modem hangs up and calls them back at a specific pre-defined number.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2001 04:24 AM
07-06-2001 04:24 AM
Re: Creating A Log File For Modem Activity
As for keeping a track of what they are typing and use thought about using the shell history. Enter the follwong in the .profile for the users you which to monitor:
HISTFILE="/. /$(date +%m%d%H%M%S)"
HISTSIZE=1024
Note the space between the /. and the /$ , you will need to mkdir ". " ("dot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2001 11:16 AM
07-06-2001 11:16 AM
Re: Creating A Log File For Modem Activity
#!/bin/sh
# ttyd2a1 is my modem
#
/bin/echo ""
/bin/echo "Most recent modem logins:"
/etc/last -R | /bin/grep 'ttyd2a1' | /usr/bin/head -20
/bin/who -b | /usr/bin/cut -c12-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2001 01:12 PM
07-06-2001 01:12 PM
Re: Creating A Log File For Modem Activity
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2001 01:27 PM
07-06-2001 01:27 PM
Re: Creating A Log File For Modem Activity
I'm trying to figure out to invoke script as login process (basename -script), but it cannot be the users default shell in /etc/passwd. Ideas?