Usenet comp.os.linux.announce (1993-2013)
 help / color / mirror / Atom feed
* Re: ANNOUNCE: xdm source with shadow support + ftpd ditto
@ 1993-02-02  4:02 Peter MacDonald
  0 siblings, 0 replies; 2+ messages in thread
From: Peter MacDonald @ 1993-02-02  4:02 UTC (permalink / 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


^ permalink raw reply	[flat|nested] 2+ messages in thread
* ANNOUNCE: xdm source with shadow support + ftpd ditto
@ 1993-02-01 22:11 Mike Jagdis
  0 siblings, 0 replies; 2+ messages in thread
From: Mike Jagdis @ 1993-02-01 22:11 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1993-02-02  4:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-02-02  4:02 ANNOUNCE: xdm source with shadow support + ftpd ditto Peter MacDonald
  -- strict thread matches above, loose matches on Subject: below --
1993-02-01 22:11 Mike Jagdis

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