Re: can xterm close button be disabled?



On Wed, 14 Dec 2005 20:07:55 -0600,
Moe Trin <ibuprofin@xxxxxxxxxxxxxxxxxxxxxx>, in
<slrndq1jvi.4lg.ibuprofin@xxxxxxxxxxxxxxxxx> wrote:
>+ On Tue, 13 Dec 2005, in the Usenet newsgroup comp.os.linux.x, in article
>+ <4084rgF194if6U2@xxxxxxxxxxxxxx>, J.O. Aho wrote:
>+ >Berend Veldkamp wrote:
>+ >
>+ >> A user can still simply type "exit" though.
>+ >
>+ >You can disable it quite easily in .bashrc by adding the following line
>+ >
>+ >alias exit='echo "sorry, exit is disabled"'
>+
>+ Then you get into the war - 'user uses "unalias exit"'
>+ Nasty admin retaliates with 'enable -n unalias'
>+ User then does 'enable unalias ; unalias exit'
>+ Nasty admin retailiates with 'enable -n enable' in /etc/bashrc
>+ User then does 'chsh /bin/ash'
>+ Nasty admin retailiates with 'chmod 700 /usr/bin/chsh'

User types "xkill"...

James
--
Consulting Minister for Consultants, DNRC
I can please only one person per day. Today is not your day. Tomorrow
isn't looking good, either.
I am BOFH. Resistance is futile. Your network will be assimilated.
.