- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: prevent access to certain hosts
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
06-06-2006 10:57 PM
06-06-2006 10:57 PM
prevent access to certain hosts
Does anyone know of an easy way to do this?
Thanks
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2006 11:12 PM
06-06-2006 11:12 PM
Re: prevent access to certain hosts
http://docs.hp.com/en/B2355-90778/ch02s02.html?btnNext=next%A0%BB
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2006 11:24 PM
06-06-2006 11:24 PM
Re: prevent access to certain hosts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2006 12:41 AM
06-07-2006 12:41 AM
Re: prevent access to certain hosts
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2006 12:45 AM
06-07-2006 12:45 AM
Re: prevent access to certain hosts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2006 03:13 AM
06-07-2006 03:13 AM
Re: prevent access to certain hosts
What about a 'sudo' solution, whereby
you only list those users that
should have access to remsh etc..
www.courtesan.com/sudo/
Or some scripting, replacing
the remsh with a program that
calls remsh (give it a different name)
You can then setup a filter they way
you want.
Or work with group differentiation,
and use this group on remsh.
keep cooking;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2006 03:25 AM
06-07-2006 03:25 AM
Re: prevent access to certain hosts
you can try to use netgroups to dissallow login. h1 == hostname of a host with restricted access.
EACHHOST:/etc/nsswitch.conf:
passwd: compat
netgroup: nis
NISMASTER:/etc/netgroup:
...
dny_h1 (,user1,) (,user2,) ...
dny_h2 (,user1,) (,user3,) ...
dny_all dny_h1 dny_h2 ...
h1:/etc/passwd
...
-@dny_h1::::::
+:::::::
So you have an easy syntax for denying a group of users for individual hosts. To deny all such users at a special host, use:
MOSTSECUTEHOST:/etc/passwd:
...
-@dny_all::::::
+:::::::
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-07-2006 03:31 AM
06-07-2006 03:31 AM
Re: prevent access to certain hosts
-@nologin::-2:-2:::
+@logingroup::-2:-2:::
See netgroup(4) and passwd(4) man pages for details.
Jeff Traigle