From: M selcukkaraca <selcuk.karaca () aski ! gov ! tr>
To: tru64-unix-managers
Subject: SUMMARY:How to prevent users from running a shell (command)
Date: Fri, 12 May 2000 22:27:56 +0000 [thread overview]
Message-ID: <96079346819569.tru64-unix-managers.marc@archive.invalid> (raw)
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
reply other threads:[~2000-05-12 22:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox