HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Restricting users using the modem
Operating System - HP-UX
1833738
Members
2467
Online
110063
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
02-20-2001 07:52 AM
02-20-2001 07:52 AM
Is there a way to restrict users from being allowed to login when dialing from a modem.
i.e. is there a way that only a set of logins will be allowed to login when prompted after dialing in from a modem ?
i.e. is there a way that only a set of logins will be allowed to login when prompted after dialing in from a modem ?
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2001 08:06 AM
02-20-2001 08:06 AM
Re: Restricting users using the modem
Hi
There are several ways to control logins from dialup connections. A dial back system is effective - search the forum for info on this also see man dialups on configuring a dial in password system.
HTH
Paula
There are several ways to control logins from dialup connections. A dial back system is effective - search the forum for info on this also see man dialups on configuring a dial in password system.
HTH
Paula
If you can spell SysAdmin then you is one - anon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2001 08:06 AM
02-20-2001 08:06 AM
Solution
Hi,
i'm doing this within the /etc/profile:
case `tty` in
*ttyd0p7) grep -qx $LOGNAME /etc/modem.allow
if [ $? != 0 ] ; then
echo "No login allowed !"
exec false
fi
;;
esac
Only user who are listed in /etc/modem.allow are able to login via modem (check your device ttyd....)
Regards
i'm doing this within the /etc/profile:
case `tty` in
*ttyd0p7) grep -qx $LOGNAME /etc/modem.allow
if [ $? != 0 ] ; then
echo "No login allowed !"
exec false
fi
;;
esac
Only user who are listed in /etc/modem.allow are able to login via modem (check your device ttyd....)
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2001 08:11 AM
02-20-2001 08:11 AM
Re: Restricting users using the modem
Two possible controls-
1) Given modem dialin users a secondary password. See man 4 dialups on how you can force an additional password prompt.
2) Assuming users use ksh or sh for their login shell, you can modify /etc/profile to check that the user is allowed to dialin and kick them off if not valid. See /usr/bin/tty will tell you the tty name, and /usr/bin/whoami will tell you the user.
1) Given modem dialin users a secondary password. See man 4 dialups on how you can force an additional password prompt.
2) Assuming users use ksh or sh for their login shell, you can modify /etc/profile to check that the user is allowed to dialin and kick them off if not valid. See /usr/bin/tty will tell you the tty name, and /usr/bin/whoami will tell you the user.
There be dragons...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP