tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: ptaylor () mirrors ! ups ! edu (Pat Taylor)
To: tru64-unix-managers
Subject: SUMARRY Eudora password server
Date: Thu, 07 Sep 1995 16:51:29 +0000	[thread overview]
Message-ID: <96075323306480.tru64-unix-managers.marc@archive.invalid> (raw)

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@spectre.prin.edu> and Bob Berrigan <berrigan@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@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

                 reply	other threads:[~1995-09-07 16:51 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox