- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to restrict access for users in hp-ux
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
03-18-2012 11:30 PM
03-18-2012 11:30 PM
how to restrict access for users in hp-ux
Hello Community,
I would like to create a user account and we would like to give him access only to perform dig and nslookup commands.
can you please advise how to do that?
thanks a lot !
Br, Jean
- Tags:
- nslookup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2012 11:25 PM
03-19-2012 11:25 PM
Re: how to restrict access for users in hp-ux
A restricted shell environment for that user could satisfy your requirement.
See "man sh-posix" and read the chapters about "rsh".
See also this old document which includes more detail on the required steps to set up a rsh user account:
http://newfdawg.com/SHP-RestShell.htm
But if the user only needs dig and nslookup, why give him access to HP-UX at all? These tools only send queries to a DNS server and interpret the answers. They can easily be provided to a Windows workstation. A version of "nslookup" is included in most versions of Windows, and "dig" can be found as an installable command-line utility, either as a part of the Cygwin toolkit, or as a separate package, like this:
http://members.shaw.ca/nicholas.fong/dig/
- Tags:
- rsh