- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: read only access
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-21-2003 05:37 AM
07-21-2003 05:37 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2003 05:40 AM
07-21-2003 05:40 AM
Re: read only access
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2003 05:47 AM
07-21-2003 05:47 AM
Re: read only access
Even then, it's a less than ideal solution - and a heck of a lot of work!
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2003 05:48 AM
07-21-2003 05:48 AM
Re: read only access
Since it is a chrooted environment, they will have NO access to the normal system, but you can control what binaries they have access too.
Read the man pages for rsh, and see if this fits your needs.
Regards,
Shannon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2003 05:52 AM
07-21-2003 05:52 AM
Re: read only access
Is it possible to restrict editing or running scripts by putting restrictions in .profile ?
Somebody mentioned to me about ACL, I dont know what it is... can that help in any ways ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2003 05:59 AM
07-21-2003 05:59 AM
Re: read only access
Restricted shell, as Shannon points out, is another possibility, but will not allow access to the whole system, as you required.
Profiles aren't suited to setting up restrictions either.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2003 06:09 AM
07-21-2003 06:09 AM
Re: read only access
Although I don't think it's a very nice thing to do there are a couple of possible ways of doing this.
1) set up a CIFS share for / which read only access. Ensure the security is set appropriately as otherwise others could have access to /etc/passwd and other files.
2) set up Apache where the htdocs dir points at /. Ensure security... as before.
I wouldn't suggest you seriously use either of these methods, the only people who should have access to every file on the system are system admins and they would already have the required access.
regards,
Darren
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2003 06:22 AM
07-21-2003 06:22 AM
Re: read only access
to browse and read the file and call it from the users profile .
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-21-2003 06:23 AM
07-21-2003 06:23 AM
SolutionACL's work on files, and will give read permissions. However, if your in a standard shell, you can force load of executables even without a bit set.
The HP suggestion is to give read access to the whole system with CIFS, and you could also do this with NIS. exportfs / -ro=host.
It seems to me though, that the person actually needs a session on the system. (hence your question about the .profile).
There is absolutely NO way to make a system accessable and remove all access without a restricted shell. In a restricted shell you have access to your home, and very limited shell functions. rsh dis-allows "cd", "pushd", "popd", "mkdir", and many other functions. Basically you can use non-volatile shell commands and tools. I.E.
ls | more
and what ever binaries the Admin gives you access too. I.E. a copy of more or cat in the users home would allow them to use that command.
I'd highly suggest you read the man pages for rsh again, to see if it fits your needs. From what you describe, it's as close as you will get.
If this users is only accessing the system to run a script, why not make the script their default shell?
Regards,
Shannon