- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- restrict login based on combi MAC address and user...
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
01-22-2006 11:11 PM
01-22-2006 11:11 PM
restrict login based on combi MAC address and username
Is there a way to restrict the logon of users based on the combination of IP adresses and usernames ?
Bye,
INCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2006 11:19 PM
01-22-2006 11:19 PM
Re: restrict login based on combi MAC address and username
That means only allowing USERA in with that IP?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-22-2006 11:51 PM
01-22-2006 11:51 PM
Re: restrict login based on combi MAC address and username
If you use commercial SSH from ssh.com, you can create address patterns to pick up host-specific extra configuration files, which can specify AllowUsers and/or DenyUsers directives. I think this would give you what you ask.
The standard HP-UX login methods don't seem to have this flexibility. Of course, with TCP wrappers you could create rules based on usernames... but TCPWrapper must make its decisions when the user is not yet authenticated, so you're trusting that the user is who the client's identd says.
If the user has total control over the client host, he/she can make the identd report any desired username. If there is no identd on the client host, you won't get the username. So this approach is very unreliable and can be used only between trusted hosts in a trusted network.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2006 12:47 AM
01-23-2006 12:47 AM
Re: restrict login based on combi MAC address and username
Then you need to modify the login script for the specific shell type (/etc/csh.login, etc) to perform a "who -u" and related checks, then compare this to your allow file, and then either exit the connection or continue.
I can send the specific scripting tomorrow.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2006 01:41 AM
01-23-2006 01:41 AM
Re: restrict login based on combi MAC address and username
Bill Hassell, sysadmin