Hello
I have a probably a stupid question but hey I don;t have the answer so...
How do you configure trusted shell???
I am trying to create new users that will only be able to run specific command such as ls, pwd, cp etc...
That's it
So I have created the user with shell=shell=/usr/bin/tsh
but then I don;t really understand how to configure the file /etc/tsh_profile.
I am assuming it is on this file that we need to put the commands the user need to run
I tried but it is not really working I get this message
/etc/tsh_profile[37]: /usr/bin/pwd: 0403-047 Command must be trusted to run in the trusted shell.
/etc/tsh_profile[38]: /usr/bin/termdef: 0403-047 Command must be trusted to run in the trusted shell.
/etc/tsh_profile[43]: /usr/bin/more: 0403-047 Command must be trusted to run in the trusted shell.
/etc/tsh_profile[44]: /usr/bin/ls: 0403-047 Command must be trusted to run in the trusted shell.
/etc/tsh_profile[45]: /usr/bin/ps: 0403-047 Command must be trusted to run in the trusted shell.
/etc/tsh_profile[46]: /usr/bin/du: 0403-047 Command must be trusted to run in the trusted shell.
/etc/tsh_profile[47]: /usr/bin/grep: 0403-047 Command must be trusted to run in the trusted shell.
So if you can help me please
Cheers
Al.
So if someone can help me
I have a probably a stupid question but hey I don;t have the answer so...
How do you configure trusted shell???
I am trying to create new users that will only be able to run specific command such as ls, pwd, cp etc...
That's it
So I have created the user with shell=shell=/usr/bin/tsh
but then I don;t really understand how to configure the file /etc/tsh_profile.
I am assuming it is on this file that we need to put the commands the user need to run
I tried but it is not really working I get this message
/etc/tsh_profile[37]: /usr/bin/pwd: 0403-047 Command must be trusted to run in the trusted shell.
/etc/tsh_profile[38]: /usr/bin/termdef: 0403-047 Command must be trusted to run in the trusted shell.
/etc/tsh_profile[43]: /usr/bin/more: 0403-047 Command must be trusted to run in the trusted shell.
/etc/tsh_profile[44]: /usr/bin/ls: 0403-047 Command must be trusted to run in the trusted shell.
/etc/tsh_profile[45]: /usr/bin/ps: 0403-047 Command must be trusted to run in the trusted shell.
/etc/tsh_profile[46]: /usr/bin/du: 0403-047 Command must be trusted to run in the trusted shell.
/etc/tsh_profile[47]: /usr/bin/grep: 0403-047 Command must be trusted to run in the trusted shell.
So if you can help me please
Cheers
Al.
So if someone can help me