The validate program reads the user id and password from stdin, because if they were given as command-line arguments they would be visible to programs such as ps that inspect the state of the system.
Your task is to complete checkpasswd.c, which reads a user id and password from stdin, creates a new process to run the validate program, sends it the user id and password, and prints a message to stdout reporting whether the validation is successful.