Usenet comp.os.linux.announce (1993-2013)
 help / color / mirror / Atom feed
From: sanjuan!pmacdona@sol.UVic.CA (Peter MacDonald)
Subject: Re: ANNOUNCE: xdm source with shadow support + ftpd ditto
Date: Tue, 2 Feb 1993 04:02:47 GMT	[thread overview]
Message-ID: <1993Feb2.040247.8361@tc.cornell.edu> (raw)

In article <1993Feb1.221155.29236@tc.cornell.edu> Mike Jagdis <jaggy@purplet.demon.co.uk> writes:
>Uploaded to tsx-11.mit.edu, sunsite.unc.edu and nic.funet.fi
>
>	xdm.taz  - source for xdm with shadow support
>	ftpd.c.Z - replacement for ftpd.c in ftpd sources (net-src 0.2)
>                   has shadow support.
>
>Both these support the full shadow 3.2.2 features, including the use of
>@... to specify an alternative verification program (untested) - see
>the shadow documentation and/or source code for the gory details.
>
>  The original xdm I had had some shadow support in there already. The
>changes I made for shadow 3.2.2 are ifdef'ed linux just to be awkward!
>
>  The ftpd.c code has the shadow changes ifdef'ed SHADOWPWD just be
>even more awkward!
>
>  To compile either of these you need the shadow 3.2.2 sources. Specifically
>the pwauth.h file must be locatable as <shadow/pwauth.c>, you need to link
>against the libshadow.a library and you also need to link in verify.o (which
>I added to libshadow.a on my system).
>
>  The changes are more or less copied straight out of login.c. They seem
>to work ok on my system but then I didn't set out to make an elegant
>solution for the masses originally :-)
>
>                             Mike
>
>-- 
>Send submissions for comp.os.linux.announce to: linux-announce@tc.cornell.edu


I should have spoke up sooner.  The shadow password in SLS does not require
modifying source code to be used.  Instead you just compile with -DSHADOW_PWD
and link -lshadow.  An interface with getpw* is included.  This will get a
password from /etc/shadow and overwrite the value in the pwd struct, only
if /etc/shadow has a password for the user.  Else, it uses the /etc/passwd one.
If you like, you can get the source from the SLS s1 disk.

Sorry Mike.

Peter

-- 
Send submissions for comp.os.linux.announce to: linux-announce@tc.cornell.edu


             reply	other threads:[~1993-02-02  4:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-02-02  4:02 Peter MacDonald [this message]
  -- strict thread matches above, loose matches on Subject: below --
1993-02-01 22:11 ANNOUNCE: xdm source with shadow support + ftpd ditto Mike Jagdis
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