- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to limit access authorization
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
07-17-2001 06:48 PM
07-17-2001 06:48 PM
1.this user just can use the directory which assign to him.
2.this user should cannot read, write other directories.
3.This user should can use the most of the Unix commands under this directory.
Anyone can help me? thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2001 07:24 PM
07-17-2001 07:24 PM
SolutionI would consider setting up the user in a restricted shell (/usr/bin/rsh). From the man pages for 'sh-posix' note:
/quote/
rsh is used to set up login names and execution environments where capabilities are more controlled than those of the standard shell. The actions of rsh are identical to those of sh, except that the following are forbidden:
+ Changing directory (see the cd special command and cd(1))
+ Setting the value of SHELL, ENV, or PATH
+ Specifying path or command names containing /
+ Redirecting output (>, >|, <>, and >>)
The system administrator often sets up a directory of commands (usually /usr/rbin) that can be safely invoked by rsh.
/end_quote/
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2001 07:55 PM
07-17-2001 07:55 PM
Re: How to limit access authorization
I would suggest setting up these type of users
into a resticted shell or rsh as more commonly
known. Once set up these users are more
tightly controlled within their own environment,which means they are basically only allowed to be within the confines of their own home directory.
A look at the man page 'sh-posix' is definitely
worth it. If there programs that need to be run
by these type of users, they are usually placed
in a directory called /usr/rbin. An example of one of these is 'red' or a restricted 'ed'
HTH
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2001 11:48 PM
07-18-2001 11:48 PM
Re: How to limit access authorization
As Michael and James said dont forget to set up /usr/rbin otherwise your efforts to restrict access could be broken by a simple invocation of ksh !!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2001 12:26 AM
07-19-2001 12:26 AM
Re: How to limit access authorization
I've tried to use rsh before but it also has some problems.
1. The user can use such as 'ls ..' to list other directories. What I want is he cannot view anything in other directories.
2. The user cannot 'cd 'to the subdirectories which created by himself.
How to resolve these problems?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2001 12:44 AM
07-19-2001 12:44 AM
Re: How to limit access authorization
Only other thing I readily think of is to have the user(s) in a captive menu, where you would have a selection where they can view their sub-directory, then once they hit another key, returns them to back into the menu again. If you cannot get one started let the forum know, there should be a lot of them around. I can give an example when I am in my office again tomorrow (Sydney time).
HTH
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2001 01:10 AM
07-19-2001 01:10 AM
Re: How to limit access authorization
We found out that the best way is using CA eTrust AccessControl, but it is expensive (~5K per server) and not very easy to work with. But it does the work really good.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2001 09:35 PM
07-29-2001 09:35 PM
Re: How to limit access authorization
/home/baduser/bin
/home/baduser/etc
/home/baduser/opt
all of those . They see /home/baduser as / and can't get any farther. I've never tried it under HP-UX, I'm not sure if it's possible. That might be the way to go if it's possible.
Hope you can find something on it.
Good luck
Brian