GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: rsh: RESTRICTED SHELL
Operating System - Linux
1845516
Members
2825
Online
110244
Solutions
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
Forums
Categories
This widget could not be displayed.
Company
This widget could not be displayed.
Local Language
This widget could not be displayed.
back
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
back
This widget could not be displayed.
This widget could not be displayed.
This widget could not be displayed.
Blogs
Information
This widget could not be displayed.
This widget could not be displayed.
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
- This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.This widget could not be displayed.
- 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 2026 Hewlett Packard Enterprise Development LP