How to trap !sh at keyboard
- From: Billy Davis <bdavis@xxxxxxxxxxxx>
- Date: Fri, 23 May 2008 13:53:20 -0400
It seems that some of our users are inclined to key in '!sh' at the shell prompt, which promptly shuts down our Red Hat Enterprise 3 Server, interrupting everyone else's work. Is there a line that we can add to the inittab file, that will trap this string, in the same fashion that the 'ca::ctrlaltdel:/sbin/shutdown -t3 -r now' line traps Ctrl-Alt-Delete inputs?
Thanks
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
- Follow-Ups:
- Re: How to trap !sh at keyboard
- From: Paul Dwerryhouse
- Re: How to trap !sh at keyboard
- From: Josh Miller
- Re: How to trap !sh at keyboard
- Prev by Date: Re: RHEL4 - Boot hangs
- Next by Date: Re: How to trap !sh at keyboard
- Previous by thread: Where to download RHEL for s390
- Next by thread: Re: How to trap !sh at keyboard
- Index(es):
Relevant Pages
|