xdm writes to /var/run/utmp

Dag-Erling Smørgrav des at des.no
Mon Nov 14 11:32:05 PST 2005


Andrew Lankford <lankfordandrew at charter.net> writes:
> Does anyone know why xdm writes to /var/run/utmp on its own without
> even using sessreg in it Xstartup or similar configuration files
> (contrary to what the man page says)?  Perhaps some people think that
> having this sort of line in the output of who utility as being useful:
>
>   andrew         :0       Nov 12 20:15

extremely useful in rwho environments, and standard behaviour on other
OSes.

> I don't, because it confuses other utilties like wall:
>
> wall: /dev/:0: No such file or directory

wall needs to be fixed.

> ...and both sessreg and the +ut option for *term work just great (if
> you want them).  So why do it, and how can you disable it short of
> commenting out the offending source code every time I want to upgrade?

vi /etc/pam.d/xdm

DES
-- 
Dag-Erling Smørgrav - des at des.no



More information about the freebsd-x11 mailing list