On Thu, 28 Jan 1999, Dr. Michael Weller wrote:
>On Thu, 28 Jan 1999, Lorenzo Canovi wrote:
>
>> Hi there.
>>
>> I'm new to this mailing list, so hope that this question is on-topic. If
>> not please reply directly to my address.
>>
>> There is any good reason to have the setuid-bit in the xterm and nxterm
>> programs?
>
>They support a feature to redirect console message from the kernel to the
>window which requires root priviledge (well, that's the case for xterm.
>I'd assume it holds for nxterm too). If you can live without this specific
>feature, I'd assume you can simply remove the setuid-bit.
I was always under the impression that it needed this to change the
permissions on the /dev/ttyp* that it was using. Usually login does it
for you when you login, but you don't login to an xterm. I've removed it
before with out any problems.
As far as the nxterm to kill, there is a small shell script called slay
that will kill all of a users processes. Obviously you can only run it as
root and it will let you slay root so be careful, but it works well.
-CJO-
>
>The basic terminal emulation in X window functionality does not need root
>priviledge.
>
>--
>
>Michael Weller: [EMAIL PROTECTED], [EMAIL PROTECTED],
>or even [EMAIL PROTECTED] If you encounter an eowmob account on
>any machine in the net, it's very likely it's me.
>
C.J. Oster (Linux Guru/Surge Addict)
------------------------------------------------------------------
| [EMAIL PROTECTED] | 910 S. 3rd St, #1218 | CCSO, WSG, UIUC |
| [EMAIL PROTECTED] | Champaign, IL 61820 | 1443 DCL, Urbana |
------------------------------------------------------------------
(580)761-6393 (217)328-8934
"Linux, for people with an IQ above 98" - Bumper Sticker
"Hm, a little big for a cup holder... Why does it say '4x' on it?"