HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to limit one user access ?
Operating System - HP-UX
1833053
Members
2392
Online
110049
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-03-2003 11:12 AM
02-03-2003 11:12 AM
How to limit one user access ?
Hi all,
I would like to create a unix account able to only see and be in his home directory (cd .. not allowed, cd something not allowed), and allow him views on some specific directories.
How can I do that ?
ThanX for your help
I would like to create a unix account able to only see and be in his home directory (cd .. not allowed, cd something not allowed), and allow him views on some specific directories.
How can I do that ?
ThanX for your help
fdepri
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2003 11:15 AM
02-03-2003 11:15 AM
Re: How to limit one user access ?
The easy approach is to set him up with rsh - restricted shell. Man sh_posix and look under the "rsh restrictions" section for details.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2003 11:23 AM
02-03-2003 11:23 AM
Re: How to limit one user access ?
This will be helpful (TKB #KBRC00008600):
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000063248395
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000063248395
Life is a promise, fulfill it!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2003 11:24 AM
02-03-2003 11:24 AM
Re: How to limit one user access ?
when creating this user, assign him the restricted shell (e.g. /usr/bin/rsh). He will not be able to cd to another directory, getting an error message like:
rsh: cd: The operation is not allowed in a restricted shell.
If you need him to access specific directories, create softlinks to the directories and put them in his home directory.
rsh: cd: The operation is not allowed in a restricted shell.
If you need him to access specific directories, create softlinks to the directories and put them in his home directory.
If at first you don't succeed, go to the ITRC
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP