Subject: Re: talk bug?
To: Bo Najdrovsky <bn@okcforum.osrhe.edu>
From: Henric Jungheim <henric@zoom.com>
List: port-amiga
Date: 02/23/1996 20:28:58
On Fri, 23 Feb 1996, Bo Najdrovsky wrote:
> I seem to have a problem with the talkd... for some reason, it always
> says that root is trying to talk, instead of the user initiating the talk
> request. Also the reply mechanism to actually make the connection doesn't
> work. I checked the permissions, and neither talk and nor ntalkd are
> setuid programs, so I don't know what is causing this. Does anyone have
> a fix?
Are your running X11/xdm (with sessreg)? I had the same symptoms.
I fixed it by patching "xc/programs/xdm/sessreg.c":
*** 262,267 ****
--- 262,268 ----
}
current_time = time ((Time_t *) 0);
set_utmp (&utmp_entry, line, user_name, host_name, current_time, aflag);
+ syserr(setlogin(user_name));
if (!utmp_none) {
#ifdef SYSV
utmpname (utmp_file);
>
> ---------------------------------------------------------------------------
> Bo Najdrovsky // AmigaOS 3.1/Mac Sys7.1/BSD 4.4 - Courtesy of my A3000
> bn@gnu.ai.mit.edu \X/ => join the EGS list: listproc@okcforum.osrhe.edu <=
> bn@okcforum.osrhe.edu "Who are you, who's so wise in the ways of science?"
>
>
-------- Henric Jungheim ------------------- henric@zoom.com --------