- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Need to restrict user to do ssh to another host
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
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
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
02-05-2013 08:58 PM
02-05-2013 08:58 PM
Need to restrict user to do ssh to another host
Hi Guys,
I need to restrict one of local user on HPUX 11iv3 system to do ssh to any other host. It means user should not be allowed to do ssh to any IP or specific IP's
Looking for any option or method available to achieve it.
Thanks in advance.
Unixadm.
- Tags:
- ssh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2013 02:17 AM
02-06-2013 02:17 AM
Re: Need to restrict user to do ssh to another host
To successfully enforce such a restriction, you may have to list the things the user *is* allowed to do on that system, and set up a restricted shell to permit only those activities.
Otherwise, the user may work around any restrictions you place on the ssh binary by bringing his/her own ssh binary to the system. As long as the user has access to an unrestricted shell and the default HP-UX tools, the user might prepare an uuencoded version of the SSH binary at some other location, and then run "uudecode > my_very_own_ssh" on the system, then copy & paste the contents of the uuencoded file to the session. Since the user is the creator & owner of the file, s/he can easily give it an execute permission and start using it.