- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: osh - The Operator Shell
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
05-15-2002 02:50 PM
05-15-2002 02:50 PM
osh - The Operator Shell
http://www.engarde.com/~mcn/osh.html
I've tried subbing to the mailing list (dead), and I was wondering if anyone here had tried this under HP-UX 11.0. I've got it compiled using gcc 3.0.4, but it seems a bit buggy - even after specifying commands in the allowed-execution table, the commands remain unavailable.
$./osh
A. Daniel King (dking)
Operator Shell version 1.7
myhost.dking (/usr/local/src/osh) #> ls
/bin/sh: /usr/bin/ls: Execute permission denied.
table:
dking
{
ls /usr/bin/ls
exit NULL
}
It would be great if there were a way to allow roaming, shell-type access to our system - without the ability to destroy things. Is there an alternative? A fix? An active user community?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 08:39 PM
05-15-2002 08:39 PM
Re: osh - The Operator Shell
I had a look at this some time ago ... but I'm afraid the project is dead :-(. The alternative is creating a "chrooted" (jail) environment yourself, but that is VERY timeconsuming (in my opinion). In our environment we use a very strict sudo (specific commands for specific users) ... which is (again in my opinion) the best "low cost / low effort / best results"-solution.
Regards,
Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2002 11:09 PM
05-15-2002 11:09 PM
Re: osh - The Operator Shell
Look at
http://hpux.cs.utah.edu/hppd/hpux/Shells/osh-1.7/
Get there by
www.software.hp.com
public domain software
search on osh
Steve steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2002 06:45 AM
05-16-2002 06:45 AM
Re: osh - The Operator Shell
However, osh would provide the ability to do something like:
>cd /home/dking
>ls
I can get the cd to work, but the ls is dying. I've been looking at the code, and I think the issue has something to do with the way execv() is called.
Perhaps there are some further examples of the access/execute table - specifically for HP-UX?
Or perhaps there exists a shell-type wrapper for sudo?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2002 07:45 AM
05-16-2002 07:45 AM