Logs the specified user in to the system.
#include <pwd.h> int posixlogin ( char *user, char *password );
(IN) Points to a user name.
(IN) Points to the user's password.
If successful, returns 0. Otherwise, returns -1 and sets errno to one of the following:
The posixlogin function creates the necessary resources to create an identity for the specified user and to embed that identity in the current working directory.