From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079346819569.tru64-unix-managers.marc@archive.invalid> From: M selcukkaraca Date: Fri, 12 May 2000 22:27:56 +0000 To: tru64-unix-managers Subject: SUMMARY:How to prevent users from running a shell (command) X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079346819569 Very much tanks for your interest and feelings to help ; Dave Simmonds, HTH, Joerg Bruehe Rick Greene Tony Hoover Mainly those people suggested me to put an "exec" in front of the application. i.e. in .profile.. ... exec runform30 [parameters] exit EOF this will prevent also running a shell behind of the application and to recover some resources..the question of the how users come into shell responded as ; shell interprest the lines in .profile. and if interpretation is cut -in away- shell stops interpretation and comes to the prompt. this is because of the -possiblty - -e flag The other suggestion was to use a restricted shell which does not allow user to leave his home dir. And the last one to use a script for the shell (which is defined in the etc/shells) I have been using exec solution and it's working ... selcuk.karaca@aski.gov.tr Unix sys Admin ASKI - ANKARA