- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Restricting network services to a group of users
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
05-02-2006 09:30 PM
05-02-2006 09:30 PM
Restricting network services to a group of users
I have an HP-UX 11.23 server, and for contractual reasons, I need to make sure that a small group of users are allowed access to the box (SSH), but once on the server, they can't 'leave' the server and use it do jump onto other nodes on the LAN.
I need to cater for all protocols, telnet, ftp, SSH etc.
Any suggestions would be greatly appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2006 09:39 PM
05-02-2006 09:39 PM
Re: Restricting network services to a group of users
how about change the owner and permission of the telnet,ftp,ssh to group "x" not all "x". Just like we usually do on "su".
then configure the second group to those users wwho need to use the telnet/ftp/ssh.
GOOD LUCK!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2006 09:40 PM
05-02-2006 09:40 PM
Re: Restricting network services to a group of users
On all hosts where you do not want to them access, put following code in /etc/profile.
if [ ${LOGNAME} = "user_name" ];then
echo "No access here-${hostname}"
exit 1
fi
For ftp, put those users in /etc/ftpd/ftpusers file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2006 09:55 PM
05-02-2006 09:55 PM
Re: Restricting network services to a group of users
RAC, unfortunately that's not really possible, there are hundreds of servers on the LAN, very few of them are UNIX.
What I'm trying on HP-UX can be achieved in secnds on Solaris, but changing the ACL for /dev/udp and /dev/tcp to deny rwx to the users specific group. For some unknown reason it doesn't have the same effect on HP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2006 09:58 PM
05-02-2006 09:58 PM
Re: Restricting network services to a group of users
I guess what Robin is asking is not restricting connection to the particular server, but once connected to this server, the user should not be able to telnet/ssh/ftp any other server from here.
Is that right Robin?
regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2006 09:59 PM
05-02-2006 09:59 PM
Re: Restricting network services to a group of users
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-03-2006 09:10 PM
05-03-2006 09:10 PM
Re: Restricting network services to a group of users
I suggest to look at man page for inetd.conf file and also hosts.equiv.
I hope it will help you.
Roland