Bug#240279: gnome-terminal: it won't show me in the 'who' list

Bruno Lustosa Bruno Lustosa <bruno@lustosa.net>, 240279@bugs.debian.org
Fri, 26 Mar 2004 16:21:02 -0300


--AhhlLboLdkugWU4S
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* J.H.M. Dassen (Ray) <fsmla@xinara.org> [26-03-2004 16:08]:
> On Fri, Mar 26, 2004 at 11:52:08 -0300, Bruno Lustosa wrote:
> > For some reason, when I open gnome-terminal, it's not adding me to the
> > 'who' list.
>=20
> gnome-terminal running under your uid can't write to /var/run/utmp.

It used to work, I don't know why it's not working.
I tried setting its sgid bit and chgrp'ing it to utmp, but gtk
applications can't run with suid/sgid bits set.
How was it working before?

> > If I launch a regular xterm, I show on the list as usual.
>=20
> xterm and other terminal emulators run setgid 'utmp' so they can update t=
he
> utmp file. gnome-terminal should probably do the same.

Yes, I noticed that. How to make it possible to write to utmp?
Are the permissions of /var/run wrong here?

lofofora@cerberus:~[0]$ ls -l /var/run/utmp
-rw-rw-r--    1 root     utmp        21888 2004-03-26 16:18 /var/run/utmp

Seems fine?

--=20
Bruno Lustosa, aka Lofofora          | Email: bruno@lustosa.net
Network Administrator/Web Programmer | ICQ: 1406477
Rio de Janeiro - Brazil              |

--AhhlLboLdkugWU4S
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAZIKeiNfNvfQ8L5IRAoxkAJoDy6V20NyG6pRyZDyfqoo0PPVhagCdEWBk
DYJMp/AAme5tPMP47YIsy1Y=
=g1DJ
-----END PGP SIGNATURE-----

--AhhlLboLdkugWU4S--