1834395 Members
2076 Online
110067 Solutions
New Discussion

shell rsh

 
Isaac_4
Frequent Advisor

shell rsh

Hi :

I need restrict some users for dont move (they cant use cd command )from your local home directory but i need that users run some script in your shell who can solve this issue !!??
I try with rsh but that shell dont allow run thoses scripts and put chmod 777 to the scripts



Thanks
The time is gold
3 REPLIES 3
Luis Cardenas Perez
Valued Contributor

Re: shell rsh

Hola,

No has considerado usar rutas completas?
Isaac_4
Frequent Advisor

Re: shell rsh

yes , i did
ex: /etc/text.sh

Some one idea about that ?
The time is gold
Heironimus
Honored Contributor

Re: shell rsh

Most restricted shell implementations will not allow you to run any command that contains a "/" - you can only run things that are in the PATH. You can probably create a new directory somewhere that contains only the things you want them to run and set their PATH to contain only that directory.