On Thu, 28 Jan 1999, C.J. Oster wrote:

> On Thu, 28 Jan 1999, Dr. Michael Weller wrote:

> >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.

Ah yes, I admit I forgot this. It shouldn't be too much of a problem
for basic operation but some application might want to open/modify the
actual terminal device. An example is mesg -y or -n which en/disables
screen messages by write, talkd and others.

Another thing is the utmp entry for who. You must run as root too to
modify it.

Michael.

--

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.

Reply via email to