Re: Disable Alt + Ctrl + Backspace selectively

From: Juergen Heinzl (juergen_at_monocerus.manannan.org)
Date: 01/26/04


Date: Mon, 26 Jan 2004 12:16:18 +0000 (UTC)

In article <40132A30.395AB943@daimi.au.dk>, Kasper Dupont wrote:
> Juergen Heinzl wrote:
>>
>> In article <ed455a08.0401231245.56b475bf@posting.google.com>, Xin Li wrote:
>> > Hi,
>> >
>> > I would like to configure my system some how so that when non root
>> > users logon, the system disables Alt + Ctrl + Backspace from killing
>> > X. But when root is logged on, ALt + Ctrl + Backspace should work as
>> > usual. I know a DontZap entry in Xconfig will disable it for
>> > everyone. But this needs to be a bit more selective. So it seems
>> > like I have to write some kind of a program that will look at key
>> > strokes and filter out Alt + Ctrl + Backspace combinations.
>> [-]
>> Here's my entry ...
>> ca::ctrlaltdel:/sbin/shutdown -F -t0 -r now
>> ...
>>
>> Of course you don't want to run shutdown here but instead you'd
>> need to read /var/run/utmp to see whether root's logged in (see
>> utmp(5) for more) and the process id of the X server can be
>> found in /tmp/.X0-lock.
>>
>> Mind though all that isn't going to handle the case of someone
>> having done a su -.
>
> I don't see any connection between the question and the
> answer. The question was about Ctrl + Alt + Backspace.
[-]
Neither do I -- blame it to me having been up for way too long
that night 8 -

Never mind,
Juergen

-- 
\ Real name     : Juergen Heinzl       \       no flames      /
 \ Email private : juergen@manannan.org \ send money instead /
  \ Photo gallery : www.manannan.org     \                  /


Relevant Pages

  • Re: Compound Index not Preventing Dups (?)
    ... nulls mean "I have no idea", so you can't do simple comparison ... mind fell off the reality train. ... This situation has caused me considerable experimentation. ... I put an entry in the Family table for "not identified", ...
    (microsoft.public.access.tablesdbdesign)
  • Re: FAQ Topic - Internationalization and Multinationalization in javascript.
    ... Before I change the entry, are you going to change your mind again in 10 months or so? ... The FAQ workers are a group of volunteers. ...
    (comp.lang.javascript)
  • Re: Dervish - the worst band in Europe
    ... I believe it's called 'Post Modern irony'. ... Usually by people who don't actually know what Post-modernism actually is... ... Never mind. ... It wouldn't matter who sang the UK entry, ...
    (uk.music.folk)
  • Re: Death Penalty for Hackers???
    ... >the death penalty in my mind. ... What is breaking and entry and grand larceny? ... breaking and entry is a crime of physical presence. ...
    (alt.computer.security)
  • Re: xfsdump Problems
    ... [xfs_repair reports no errors, /var/lib/xfsdump new, probably no tmp ... Another thought that crossed my mind is this: xfsdump might fail if the ... If so could you post your entry, it would correspond to the following ...
    (comp.sys.sgi.misc)