*******************************************************************
*
* This module contains get_pwuid(), a function that
- * Makes a dyname copy of the struct passwd returned by
+ * Makes a dynamic copy of the struct passwd returned by
* getpwuid() and substitutes the shadow password if
* necesary.
*
/**********************************************************************
*
- * sudo_getpwuid()
+ * sudo_getspwd()
*
- * This function ...
+ * This function returns the shadow password for the user described
+ * by pw_ent. If there is no shadow password the normal UN*X password
+ * is returned instead.
*/
static char *sudo_getspwd(pw_ent)
*
* sudo_getpwuid()
*
- * This function ...
+ * This function dynamically allocates space for a struct password
+ * and the constituent parts that we care about. If shadow passwords
+ * are in use, it substitutes the shadow password for pw_passwd.
*/
struct passwd *sudo_getpwuid(uid)