Hey all,
I must start out by saying that I was surprised at the small number (2) of
responses my original post recieved asking for assistance in getting
pwserve-4 to run correctly under OSF/1. While users could always login
interactivly and change their password, my server will have about 4000
users 99% of which know nothing about unix. The problem ended up being
pretty obscure, so I will send on to Qualcomm the poppassd.c and Makefile
for them to offer other OSF'ers. Now that I have expressed my opinion,
which does not always reflect that of managment here, on to the solution.
Thanks to the two people who did respond, Christopher Davis
<cld_at_spectre.prin.edu> and Bob Berrigan <berrigan_at_kent.wednet.edu>, both
had the corrected files.
After the include statements in poppassd.c add the following:
#ifdef OSF1
# include <sys/ioctl.h>
#endif
and then in the child portion this section was added.
* under OSF/1, there is no implicit assignment of control terminal with
* open(). The call to ioctl below opens the slave device and attaches
* it to the current session as the controlling terminal. Refer to
* tty(7) under OSF/1 for details.
#ifdef OSF1
ioctl(slave,TIOCSCTTY,0);
#endif
The Makefile was also slightly changed with the following:
CFLAGS = -g -DOSF1
LFLAGS = -g -DOSF1
I hope this helps anyone else trying to make life easier for their users,
and I will repost any responses I recieve from Qualcomm.
Pat
Patrick D. Taylor <ptaylor_at_ups.edu>
Office of Infomation Systems
University of Puget Sound
Tacoma, WA. 98416
(206)756-1475
"Imagination is more important than knowledge. Knowledge is limited.
Imagination encircles the world."
Albert Einstein
Received on Thu Sep 07 1995 - 18:06:54 NZST