Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37789897
en ru br
ALT Linux repositórios
S:4.14.0-alt1
5.0: 4.0.4.1-alt9
4.1: 4.0.4.1-alt9
4.0: 4.0.4.1-alt8
3.0: 4.0.4.1-alt5

Group :: Sistema/Base
RPM: shadow

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: shadow-4.0.4.1-owl-usermod-update-lstchg.patch
Download


--- shadow-4.0.4.1.orig/src/usermod.c	2004-09-27 17:35:47.911752832 +0000
+++ shadow-4.0.4.1/src/usermod.c	2004-09-27 17:30:38.440799568 +0000
@@ -1148,6 +1148,8 @@ static void usr_update (void)
 	}
 #ifdef	SHADOWPWD
 	if (spwd && (lflg || eflg || fflg || pflg || Lflg || Uflg)) {
+		if (pflg)
+			spent.sp_lstchg = time ((time_t *) 0) / SCALE;
 		if (!spw_update (&spent)) {
 			fprintf (stderr,
 				 _
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009