- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Disable logins thru modem
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
03-05-2003 01:02 PM
03-05-2003 01:02 PM
Disable logins thru modem
We have a modem that we want to use for outgoing pages ONLY.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 01:07 PM
03-05-2003 01:07 PM
Re: Disable logins thru modem
As long as you do not spawn any getty process for the modem, your system will not allow logins.
Do a 'ps -ef|grep getty' and see if there are any getty processes other than console. If so, then compare them against /etc/inittab and make sure the lines that correspond to your modem (like tty0p1) are taken/commented out. Refresh init by doing a 'init q'.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 01:13 PM
03-05-2003 01:13 PM
Re: Disable logins thru modem
a0:3:respawn:/usr/sbin/getty -h tty2a2 57600
We want the system to be able to dial out anytime, but just don't want it to answer incoming calls.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 01:23 PM
03-05-2003 01:23 PM
Re: Disable logins thru modem
I believe you want:
a0:3:off:/usr/sbin/getty -h tty2a2 57600
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 01:24 PM
03-05-2003 01:24 PM
Re: Disable logins thru modem
Here is how to unconfigure it:
as root
sam
SAM Peripheral Devices ->
SAM Terminals and Modems
select your modem
actions modify modem
Uncheck the box to take incoming calls.
Make sure the box for outgoing calls is still checked.
Exit sam.
I do this once every couple of years so don't bother remembering how to do it from the command line.
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
03-05-2003 01:31 PM
03-05-2003 01:31 PM
Re: Disable logins thru modem
getty process is responsible for answering the incoming calls. Disabling it will not disable dial-outs.
Disable it and then try dialing out. You can always turn it back on by taking the comment off and running the 'init q' command.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 01:37 PM
03-05-2003 01:37 PM
Re: Disable logins thru modem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2003 02:18 AM
03-06-2003 02:18 AM
Re: Disable logins thru modem
The replies that mention changing the respawn to off in the modem entry in inittab are accurate. You can also do this as suggested in SAM, though if you'd originally modified /etc/inittab manually it will replace your entry with SAM's default.
You can also configure the modem so that it won't answer the phone line even if a getty is present. Check your modem's handbook - MultiTech modems generally use ATS=0 to set autoanswer to off. This command can be sent by connecting to the modem using kermit or cu, and should be followed by the correct command to save the settings in the modem's memory.
regards,
Darren