Date: Fri, 11 Sep 1998 10:59:17 -0400 From: Roman Katsnelson <romank@graphnet.com> To: "q's" <freebsd-questions@FreeBSD.ORG> Subject: manual password encryption Message-ID: <35F93AC5.479E89D5@graphnet.com>
next in thread | raw e-mail | index | archive | help
Hi, I would like to be able to verify user privileges with a web GUI. Instead of keeping a separate file with unencrypted passwords, though, I just wanna be able to verify them from passwd, for example: the $QUERY_STRING is blah.cgi?name=johnny&pwd=bgoode I wanna match this to: grep -e "$name" /etc/passwd | cut -d":" -f1 # will yield user name grep -e "$name" /etc/passwd | cut -d":" -f2 # will yield password can I manually encrypt the value of $pwd in the above example so that it matches the grep | cut output? I hope I explained that ok. Thanks IA, Roman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35F93AC5.479E89D5>