2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 06:15:37 +00:00

o Replace _PASSWD_LEN braindeath with our own SUDO_MAX_PASS.

It turns out the old DES crypt does the right thing with passwords
   longert than 8 characters.
 o Fix common typo (necesary -> necessary)
 o Update TODO list
This commit is contained in:
Todd C. Miller
1999-05-14 16:30:14 +00:00
parent 6b91a87a9f
commit 850a52aa6f
11 changed files with 56 additions and 80 deletions

4
sudo.c
View File

@@ -412,8 +412,8 @@ load_globals(sudo_mode)
/*
* Get a local copy of the user's struct passwd with the shadow password
* if necesary. It is assumed that euid is 0 at this point so we
* can read the shadow passwd file if necesary.
* if necessary. It is assumed that euid is 0 at this point so we
* can read the shadow passwd file if necessary.
*/
if ((user_pw_ent = sudo_getpwuid(getuid())) == NULL) {
/* need to make a fake user_pw_ent */