From 78488dc84afac1398e582ae6bbaf9606d07afa1e Mon Sep 17 00:00:00 2001 From: John Denker Date: Sat, 2 Jun 2012 18:38:28 -0700 Subject: checkpassword ... as downloaded --- checkpasswd/tryuserpw.c | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 checkpasswd/tryuserpw.c (limited to 'checkpasswd/tryuserpw.c') diff --git a/checkpasswd/tryuserpw.c b/checkpasswd/tryuserpw.c new file mode 100644 index 0000000..fb14623 --- /dev/null +++ b/checkpasswd/tryuserpw.c @@ -0,0 +1,9 @@ +#include + +void main() +{ + struct userpw *upw; + + upw = getuserpw(""); + puts(upw->upw_passwd); +} -- cgit v1.2.3