cancel
Showing results for 
Search instead for 
Did you mean: 

block shell from each other

SOLVED
Go to solution

block shell from each other

We have a user who's default shell is jshell and we want this user to only access this particular shell.

Is it possible to prevent the user switching from jshell to kshell?
Thanks
-Chris
3 REPLIES
Dennis Handly
Acclaimed Contributor
Solution

Re: block shell from each other

Do you have the source to jshell to change it to not invoke any but known commands?

Otherwise, what will prevent the user from copying ksh to foo_bar and then executing that?
Johnson Punniyalingam
Honored Contributor

Re: block shell from each other

>>>Is it possible to prevent the user switching from jshell to kshell?<<<

Yes, shells pointed "while creating of the user account"

if you have already setup "jshell" for "particular user" with power of root privileges.

user will not able to "change shell" as long as " you change jshell to kshell -> using "root " privileges"
Problems are common to all, but attitude makes the difference
Steven Schweda
Honored Contributor

Re: block shell from each other

> We have a user who's default shell [...]

whose

http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1407639