HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: rsh: RESTRICTED SHELL
Operating System - Linux
1828773
Members
2735
Online
109985
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
07-22-2006 06:57 AM
07-22-2006 06:57 AM
rsh: RESTRICTED SHELL
HI, ALL
HOW CAN WE RESTRICT A USER USING THE ANY COMMAND.HOW CAN WE ALLOW USER TO USE ANY COMMAND. AND HOW CAN WE SEE THAT A PARTICAULAR USER HAS A FOLLOWING PERMISSION TO EXECUTE THE THIS NUMBER OF COMMAND
HOW CAN WE RESTRICT A USER USING THE ANY COMMAND.HOW CAN WE ALLOW USER TO USE ANY COMMAND. AND HOW CAN WE SEE THAT A PARTICAULAR USER HAS A FOLLOWING PERMISSION TO EXECUTE THE THIS NUMBER OF COMMAND
- Tags:
- rsh
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2006 07:31 AM
07-22-2006 07:31 AM
Re: rsh: RESTRICTED SHELL
Hi:
Have a look at the 'sh-posix(1)' manpages under the section titled "rsh Restrictions".
Regards!
...JRF...
Have a look at the 'sh-posix(1)' manpages under the section titled "rsh Restrictions".
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-22-2006 08:03 AM
07-22-2006 08:03 AM
Re: rsh: RESTRICTED SHELL
Hi (again):
Hmmm, so what wasn't useful in the answer I provided?
The restricted shell environment presumes that the commands you want a user to be able to execute are available in his/her PATH. In particular, a user cannot specify a command with '/' at its beginning, 'cd' to a directory; nor can they set their PATH variable.
As for seeing that a user has the permission to execute a paricular command, that is governed by the ownership and permissions of the executable and by the ability of the user to search the directory containing the command!
Regards!
...JRF...
Hmmm, so what wasn't useful in the answer I provided?
The restricted shell environment presumes that the commands you want a user to be able to execute are available in his/her PATH. In particular, a user cannot specify a command with '/' at its beginning, 'cd' to a directory; nor can they set their PATH variable.
As for seeing that a user has the permission to execute a paricular command, that is governed by the ownership and permissions of the executable and by the ability of the user to search the directory containing the command!
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2006 12:14 AM
07-23-2006 12:14 AM
Re: rsh: RESTRICTED SHELL
I agree with James about the use of Restricted Shell. Also, if you check this link:
http://forums1.itrc.hp.com/service/forums/helptips.do?#34
You can see that points from:
1-3: The answer didn't really help answer my question, but thanks for your assistance!
At least thanks for the answer. Would be nice if you don't assign 0 points to the answers even if you consider that is not usefull, just to thank the effort.
http://forums1.itrc.hp.com/service/forums/helptips.do?#34
You can see that points from:
1-3: The answer didn't really help answer my question, but thanks for your assistance!
At least thanks for the answer. Would be nice if you don't assign 0 points to the answers even if you consider that is not usefull, just to thank the effort.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
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