tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY:How to prevent users from running a shell (command)
@ 2000-05-12 22:27 M selcukkaraca
  0 siblings, 0 replies; only message in thread
From: M selcukkaraca @ 2000-05-12 22:27 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-05-12 22:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-12 22:27 SUMMARY:How to prevent users from running a shell (command) M selcukkaraca

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox