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
11-05-2001 02:24 PM
11-05-2001 02:24 PM
rksh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2001 02:27 PM
11-05-2001 02:27 PM
Re: rksh
...jcd...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2001 02:30 PM
11-05-2001 02:30 PM
Re: rksh
I'm trying to add 1 user and lock then down to a shell in a specific directory on HP-UX 11.00. rksh/rsh would work great in my case except they disable the use of cd. This directory has sub-directories which I would like to give them access to. I attempted to use chroot, but that won't work because of dld dependencies. Any ideas ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2001 03:12 PM
11-05-2001 03:12 PM
Re: rksh
-Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2001 03:22 PM
11-05-2001 03:22 PM
Re: rksh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2001 04:17 PM
11-05-2001 04:17 PM
Re: rksh
There's also a project called "The Jail Chroot Project" that allows you to run a shell in a chroot'ed environment. Be aware though, that this is a Linux/Solaris/FreeBSD project. The author says it's goal is to be portable, so you may want to take a look at it and see if it's not so hard to customize for HP-UX.
Regards,
Paga
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-05-2001 04:18 PM
11-05-2001 04:18 PM
Re: rksh
Jail Chroot Project
http://www.gsyc.inf.uc3m.es/~assman/jail/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2001 04:57 AM
11-06-2001 04:57 AM
Re: rksh
> I'm trying to add 1 user and lock then down
> to a shell in a specific directory on HP-UX
> 11.00. rksh/rsh would work great in my case
> except they disable the use of cd. This
> directory has sub-directories which I would
> like to give them access to.
With rksh/rsh they still have *access* to the subdirectories and the files in them, they 'just' can not *cd* to them.
Re: A chroot(2)-ed environment. That is possible, but the documentation supplied with HP-UX has very limited information on it. Basically all is this part from the login(1) manual page:
[start quote:]
If the command name field is *, a chroot() to the directory named in
the directory field of the entry is performed. At that point login is
re-executed at the new level which must have its own root structure,
including a /usr/bin/login command and an /etc/passwd file.
[end quote.]
That information is both correct and (at least implicitly) complete, but you will have to read/interpret it very carefully to understand the full implications.
However reading your requirements, I think that a chroot()-ed environment is an overkill.