GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- User Permission
Operating System - HP-UX
1844205
Members
2131
Online
110229
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
10-10-2000 11:37 PM
10-10-2000 11:37 PM
User Permission
Dear All,
In HP-UX 11.00, We need to create a user with home directory at /home. There should be permission only to go to his user directory and he should not be able to go to any other directory (even in read only permission)
Is it possible.. Please explain.
Example.
When logged in his home directory is /home/aaa
(user name aaa)
if he is giving the command to change directory to root, it should not accept it.
For any case user "aaa" should not cross his home directory.
Thanks in Advance
V.Selvaraj
In HP-UX 11.00, We need to create a user with home directory at /home. There should be permission only to go to his user directory and he should not be able to go to any other directory (even in read only permission)
Is it possible.. Please explain.
Example.
When logged in his home directory is /home/aaa
(user name aaa)
if he is giving the command to change directory to root, it should not accept it.
For any case user "aaa" should not cross his home directory.
Thanks in Advance
V.Selvaraj
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2000 11:47 PM
10-10-2000 11:47 PM
Re: User Permission
Hi,
change the login shell for that user to restricted shell:
chsh /bin/rsh
This will change the shell part within /etc/passwd for the specified user.
With restricted shell the user cannot change to other directories, see man sh
Regards
change the login shell for that user to restricted shell:
chsh
This will change the shell part within /etc/passwd for the specified user.
With restricted shell the user cannot change to other directories, see man sh
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2000 11:48 PM
10-10-2000 11:48 PM
Re: User Permission
Hi,
Is this previous thread useful at all?
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x30717e990647d4118fee0090279cd0f9,00.html
Regards,
John
Is this previous thread useful at all?
http://my1.itrc.hp.com/cm/QuestionAnswer/1,1150,0x30717e990647d4118fee0090279cd0f9,00.html
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2000 11:49 PM
10-10-2000 11:49 PM
Re: User Permission
Hi,
I think it is *very* difficult to control using permissions (chmod or the like). However I would suggest that you look at the man pages for the restricted shells (rsh or rksh) - Change the users shell to one of those. They have some restrictions, but it is might not what you want.
I think it is *very* difficult to control using permissions (chmod or the like). However I would suggest that you look at the man pages for the restricted shells (rsh or rksh) - Change the users shell to one of those. They have some restrictions, but it is might not what you want.
In a world without fences - who needs Gates ?
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