* libmisc/isexpired.c: If there are no shadow entry, there is no
need to convert the password entry to a shadow entry. The password is valid.
This commit is contained in:
parent
f703b686da
commit
2a3b84b888
@ -1,3 +1,9 @@
|
|||||||
|
2009-04-05 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
|
* libmisc/isexpired.c: If there are no shadow entry, there is no
|
||||||
|
need to convert the password entry to a shadow entry. The password
|
||||||
|
is valid.
|
||||||
|
|
||||||
2009-04-05 Nicolas François <nicolas.francois@centraliens.net>
|
2009-04-05 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
* man/usermod.8.xml: Split some paragraphs into smaller units.
|
* man/usermod.8.xml: Split some paragraphs into smaller units.
|
||||||
|
@ -66,7 +66,7 @@ int isexpired (const struct passwd *pw, const struct spwd *sp)
|
|||||||
now = (long) time ((time_t *) 0) / SCALE;
|
now = (long) time ((time_t *) 0) / SCALE;
|
||||||
|
|
||||||
if (NULL == sp) {
|
if (NULL == sp) {
|
||||||
sp = pwd_to_spwd (pw);
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user