Remove/Restrict Jshell access
- yoshan
- Topic Author
- Visitor
-
14 years 7 months ago #5944
by yoshan
Remove/Restrict Jshell access was created by yoshan
Dear All,
I need to remove/restrict jshell access from other users. Anyone who did this, pls advice me how to did it.
Thanks,
I need to remove/restrict jshell access from other users. Anyone who did this, pls advice me how to did it.
Thanks,
Please Log in or Create an account to join the conversation.
- pavisk
- Offline
- New Member
-
Less
More
- Posts: 7
- Thank you received: 0
14 years 5 months ago #6300
by pavisk
Replied by pavisk on topic Re: Remove/Restrict Jshell access
Hi,
you can control this in .profile. Pls include the below given codes in your .profile at the end.
if ( $USER = test1j || $(whoami) = testj ); --Only these two IDs(test1j & testj will have access to jBASE
$JBCRELEASEDIR/bin/jpqn $JEDIFILENAME_MD/loginjshell
exit
else
$JBCRELEASEDIR/bin/jpqn $JEDIFILENAME_MD/loginproc
exit
Regards,
Praveen
you can control this in .profile. Pls include the below given codes in your .profile at the end.
if ( $USER = test1j || $(whoami) = testj ); --Only these two IDs(test1j & testj will have access to jBASE
$JBCRELEASEDIR/bin/jpqn $JEDIFILENAME_MD/loginjshell
exit
else
$JBCRELEASEDIR/bin/jpqn $JEDIFILENAME_MD/loginproc
exit
Regards,
Praveen
Please Log in or Create an account to join the conversation.
Time to create page: 0.038 seconds