I'm trying to create a cgi script to change a person's vacation message from a web page. I'm not sure how to compare the /etc/shadow password vs the one entered by the user. I believe that I can use the encrypt command, but I don't know the correct way to encrypt the user entered password so it is encrypted as the /etc/shadow. Thanks.