Re: Shadow Passwords

Heiko Schlittermann (heiko@lotte.sax.de)
Sun, 31 Aug 1997 15:32:19 +0200

--fItR5cpyRUqJLqMN
Content-Type: text/plain; charset=us-ascii

On Aug 30, Jordan Mendelson wrote
: This most definatly doesn't happen on my systems. Changes to my /etc/shadow
: file are immediatly available to radius. It may be that you need to upgrade
: your shadow suite or perhaps your version of radiusd, or both.
:
: The current version of the Shadow suite is 970616.

Aha -- here: 961025 seems to be somewhat older.

You may try this:

#include <stdio.h>
#include <shadow.h>
#include <unistd.h>

int main() {
char *name = "heiko"; <--------------- change here
struct spwd *spw;

while (1) {
spw = getspnam(name);
printf("crypted: %s\n", spw->sp_pwdp);
sleep(3);
}

return 0;
}

and than change your password while running this little program.

Heiko

--
email : heiko@lotte.sax.de heiko@debian.org heiko@sax.de
pgp   : A1 7D F6 7B 69 73 48 35  E1 DE 21 A7 A8 9A 77 92 
finger: heiko@sax.sax.de         heiko@master.debian.org

--fItR5cpyRUqJLqMN Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE----- Version: 2.6.3ia

iQCVAwUBNAlyYdBsuuHx3GhhAQGTKAP+J/y1x497RgcXJhnCUxC5N5RdOBKFtrcn 90BFKSuCAu0FCwGHovrdkUKGlojjLE2WH9SkwR9LopzUF8lbp8cd2yTW8zwc0ViV JIjNpFq0kTLfj+gBC7gXyifhLNxu2Fa7Vc0Xbu7xkgpkPcJF6qeC2Jh+bZEplOII FVDzWMg1SRE= =Y/ZJ -----END PGP SIGNATURE-----

--fItR5cpyRUqJLqMN--