- Timestamp:
- Jan 4, 2009, 2:59:00 PM (16 years ago)
- Branches:
- master
- Children:
- ac76cbb
- Parents:
- cfaf68c
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
patches/shadow-4.1.2.2-sysroot_hacks-2.patch
rcfaf68c r63c1d49 2 2 Date: 2006-11-24 3 3 Initial Package Version: 4.0.18.1 4 4 Rediffed Against 4.1.2.2 by Joe Ciccone on 2009-01-03 5 5 Origin: Joe Ciccone 6 6 Upstream Status: None … … 8 8 parameter passed to configure. Allows the utilities to be run 9 9 as a user other then root and properly modify the passwd and group 10 files for the target system. 10 files for the target system. This patch also disables the 11 calls that flushes the nscd cache. There is no point in flushing 12 the hosts cache db when it wasn't modified. 11 13 12 14 diff -Naur shadow-4.1.2.2.orig/contrib/Makefile.in shadow-4.1.2.2/contrib/Makefile.in 13 15 --- shadow-4.1.2.2.orig/contrib/Makefile.in 2008-11-22 19:10:51.000000000 -0500 14 +++ shadow-4.1.2.2/contrib/Makefile.in 2009-01-0 3 16:35:58.976432977-050016 +++ shadow-4.1.2.2/contrib/Makefile.in 2009-01-04 17:35:46.184121662 -0500 15 17 @@ -184,6 +184,7 @@ 16 18 srcdir = @srcdir@ … … 23 25 diff -Naur shadow-4.1.2.2.orig/doc/Makefile.in shadow-4.1.2.2/doc/Makefile.in 24 26 --- shadow-4.1.2.2.orig/doc/Makefile.in 2008-11-22 19:10:51.000000000 -0500 25 +++ shadow-4.1.2.2/doc/Makefile.in 2009-01-0 3 16:35:59.023099983-050027 +++ shadow-4.1.2.2/doc/Makefile.in 2009-01-04 17:35:46.184121662 -0500 26 28 @@ -184,6 +184,7 @@ 27 29 srcdir = @srcdir@ … … 34 36 diff -Naur shadow-4.1.2.2.orig/etc/Makefile.in shadow-4.1.2.2/etc/Makefile.in 35 37 --- shadow-4.1.2.2.orig/etc/Makefile.in 2008-11-22 19:10:51.000000000 -0500 36 +++ shadow-4.1.2.2/etc/Makefile.in 2009-01-0 3 16:35:59.069766134-050038 +++ shadow-4.1.2.2/etc/Makefile.in 2009-01-04 17:35:46.187460880 -0500 37 39 @@ -209,6 +209,7 @@ 38 40 srcdir = @srcdir@ … … 45 47 diff -Naur shadow-4.1.2.2.orig/etc/pam.d/Makefile.in shadow-4.1.2.2/etc/pam.d/Makefile.in 46 48 --- shadow-4.1.2.2.orig/etc/pam.d/Makefile.in 2008-11-22 19:10:51.000000000 -0500 47 +++ shadow-4.1.2.2/etc/pam.d/Makefile.in 2009-01-0 3 16:35:59.109766243-050049 +++ shadow-4.1.2.2/etc/pam.d/Makefile.in 2009-01-04 17:35:46.187460880 -0500 48 50 @@ -194,6 +194,7 @@ 49 51 srcdir = @srcdir@ … … 56 58 diff -Naur shadow-4.1.2.2.orig/lib/commonio.c shadow-4.1.2.2/lib/commonio.c 57 59 --- shadow-4.1.2.2.orig/lib/commonio.c 2008-11-22 18:11:15.000000000 -0500 58 +++ shadow-4.1.2.2/lib/commonio.c 2009-01-0 3 16:24:11.160122816-050060 +++ shadow-4.1.2.2/lib/commonio.c 2009-01-04 17:49:44.478189054 -0500 59 61 @@ -183,14 +183,6 @@ 60 62 if (!fp) … … 72 74 if (fchmod (fileno (fp), sb->st_mode & 0664)) 73 75 goto fail; 74 @@ -749,7 +741,7 @@ 76 @@ -353,9 +345,10 @@ 77 if (lock_count == 0) { 78 /* Tell nscd when lock count goes to zero, 79 if any of the files were changed. */ 80 + 81 if (nscd_need_reload) { 82 - nscd_flush_cache ("passwd"); 83 - nscd_flush_cache ("group"); 84 +// nscd_flush_cache ("passwd"); 85 +// nscd_flush_cache ("group"); 86 nscd_need_reload = 0; 87 } 88 #ifdef HAVE_LCKPWDF 89 @@ -749,7 +742,7 @@ 75 90 * Default permissions for new [g]shadow files. 76 91 * (passwd and group always exist...) … … 83 98 diff -Naur shadow-4.1.2.2.orig/lib/defines.h shadow-4.1.2.2/lib/defines.h 84 99 --- shadow-4.1.2.2.orig/lib/defines.h 2008-11-22 18:11:15.000000000 -0500 85 +++ shadow-4.1.2.2/lib/defines.h 2009-01-0 3 16:24:48.968136556-0500100 +++ shadow-4.1.2.2/lib/defines.h 2009-01-04 17:35:46.187460880 -0500 86 101 @@ -265,20 +265,20 @@ 87 102 (strncpy((A), (B), sizeof(A) - 1), (A)[sizeof(A) - 1] = '\0') … … 111 126 diff -Naur shadow-4.1.2.2.orig/lib/getdef.c shadow-4.1.2.2/lib/getdef.c 112 127 --- shadow-4.1.2.2.orig/lib/getdef.c 2008-11-22 18:11:15.000000000 -0500 113 +++ shadow-4.1.2.2/lib/getdef.c 2009-01-0 3 16:25:10.736499890 -0500128 +++ shadow-4.1.2.2/lib/getdef.c 2009-01-04 17:35:46.187460880 -0500 114 129 @@ -127,7 +127,7 @@ 115 130 }; … … 123 138 diff -Naur shadow-4.1.2.2.orig/lib/gshadow_.h shadow-4.1.2.2/lib/gshadow_.h 124 139 --- shadow-4.1.2.2.orig/lib/gshadow_.h 2008-11-22 18:11:15.000000000 -0500 125 +++ shadow-4.1.2.2/lib/gshadow_.h 2009-01-0 3 16:25:26.133167409-0500140 +++ shadow-4.1.2.2/lib/gshadow_.h 2009-01-04 17:35:46.187460880 -0500 126 141 @@ -71,5 +71,5 @@ 127 142 int putsgent (); … … 133 148 diff -Naur shadow-4.1.2.2.orig/lib/Makefile.am shadow-4.1.2.2/lib/Makefile.am 134 149 --- shadow-4.1.2.2.orig/lib/Makefile.am 2008-11-22 18:11:15.000000000 -0500 135 +++ shadow-4.1.2.2/lib/Makefile.am 2009-01-0 3 16:21:23.733191690 -0500150 +++ shadow-4.1.2.2/lib/Makefile.am 2009-01-04 17:35:46.187460880 -0500 136 151 @@ -2,6 +2,7 @@ 137 152 AUTOMAKE_OPTIONS = 1.0 foreign … … 144 159 diff -Naur shadow-4.1.2.2.orig/lib/Makefile.in shadow-4.1.2.2/lib/Makefile.in 145 160 --- shadow-4.1.2.2.orig/lib/Makefile.in 2008-11-22 19:10:52.000000000 -0500 146 +++ shadow-4.1.2.2/lib/Makefile.in 2009-01-0 3 16:35:59.163099536-0500161 +++ shadow-4.1.2.2/lib/Makefile.in 2009-01-04 17:35:46.187460880 -0500 147 162 @@ -206,9 +206,11 @@ 148 163 srcdir = @srcdir@ … … 159 174 diff -Naur shadow-4.1.2.2.orig/lib/port.h shadow-4.1.2.2/lib/port.h 160 175 --- shadow-4.1.2.2.orig/lib/port.h 2008-11-22 18:11:15.000000000 -0500 161 +++ shadow-4.1.2.2/lib/port.h 2009-01-0 3 16:25:44.029827945-0500176 +++ shadow-4.1.2.2/lib/port.h 2009-01-04 17:35:46.187460880 -0500 162 177 @@ -52,7 +52,7 @@ 163 178 * PORT_DAY - Day of the week to a bit value (0 = Sunday). … … 171 186 diff -Naur shadow-4.1.2.2.orig/libmisc/limits.c shadow-4.1.2.2/libmisc/limits.c 172 187 --- shadow-4.1.2.2.orig/libmisc/limits.c 2008-11-22 18:11:08.000000000 -0500 173 +++ shadow-4.1.2.2/libmisc/limits.c 2009-01-0 3 16:26:45.504180328-0500188 +++ shadow-4.1.2.2/libmisc/limits.c 2009-01-04 17:35:46.187460880 -0500 174 189 @@ -54,7 +54,7 @@ 175 190 #endif … … 183 198 diff -Naur shadow-4.1.2.2.orig/libmisc/Makefile.am shadow-4.1.2.2/libmisc/Makefile.am 184 199 --- shadow-4.1.2.2.orig/libmisc/Makefile.am 2008-11-22 18:11:08.000000000 -0500 185 +++ shadow-4.1.2.2/libmisc/Makefile.am 2009-01-0 3 16:26:26.072172852-0500200 +++ shadow-4.1.2.2/libmisc/Makefile.am 2009-01-04 17:35:46.187460880 -0500 186 201 @@ -1,6 +1,8 @@ 187 202 … … 195 210 diff -Naur shadow-4.1.2.2.orig/libmisc/Makefile.in shadow-4.1.2.2/libmisc/Makefile.in 196 211 --- shadow-4.1.2.2.orig/libmisc/Makefile.in 2008-11-22 19:10:52.000000000 -0500 197 +++ shadow-4.1.2.2/libmisc/Makefile.in 2009-01-0 3 16:35:59.229766152-0500212 +++ shadow-4.1.2.2/libmisc/Makefile.in 2009-01-04 17:35:46.187460880 -0500 198 213 @@ -223,9 +223,11 @@ 199 214 srcdir = @srcdir@ … … 210 225 diff -Naur shadow-4.1.2.2.orig/Makefile.in shadow-4.1.2.2/Makefile.in 211 226 --- shadow-4.1.2.2.orig/Makefile.in 2008-11-22 19:10:53.000000000 -0500 212 +++ shadow-4.1.2.2/Makefile.in 2009-01-0 3 16:36:00.209975513-0500227 +++ shadow-4.1.2.2/Makefile.in 2009-01-04 17:35:46.187460880 -0500 213 228 @@ -209,6 +209,7 @@ 214 229 srcdir = @srcdir@ … … 221 236 diff -Naur shadow-4.1.2.2.orig/man/cs/Makefile.in shadow-4.1.2.2/man/cs/Makefile.in 222 237 --- shadow-4.1.2.2.orig/man/cs/Makefile.in 2008-11-22 19:10:52.000000000 -0500 223 +++ shadow-4.1.2.2/man/cs/Makefile.in 2009-01-0 3 16:35:59.329766138-0500238 +++ shadow-4.1.2.2/man/cs/Makefile.in 2009-01-04 17:35:46.190976966 -0500 224 239 @@ -188,6 +188,7 @@ 225 240 srcdir = @srcdir@ … … 232 247 diff -Naur shadow-4.1.2.2.orig/man/de/Makefile.in shadow-4.1.2.2/man/de/Makefile.in 233 248 --- shadow-4.1.2.2.orig/man/de/Makefile.in 2008-11-22 19:10:52.000000000 -0500 234 +++ shadow-4.1.2.2/man/de/Makefile.in 2009-01-0 3 16:35:59.376642280-0500249 +++ shadow-4.1.2.2/man/de/Makefile.in 2009-01-04 17:35:46.190976966 -0500 235 250 @@ -190,6 +190,7 @@ 236 251 srcdir = @srcdir@ … … 243 258 diff -Naur shadow-4.1.2.2.orig/man/es/Makefile.in shadow-4.1.2.2/man/es/Makefile.in 244 259 --- shadow-4.1.2.2.orig/man/es/Makefile.in 2008-11-22 19:10:52.000000000 -0500 245 +++ shadow-4.1.2.2/man/es/Makefile.in 2009-01-0 3 16:35:59.416642409-0500260 +++ shadow-4.1.2.2/man/es/Makefile.in 2009-01-04 17:35:46.190976966 -0500 246 261 @@ -188,6 +188,7 @@ 247 262 srcdir = @srcdir@ … … 254 269 diff -Naur shadow-4.1.2.2.orig/man/fi/Makefile.in shadow-4.1.2.2/man/fi/Makefile.in 255 270 --- shadow-4.1.2.2.orig/man/fi/Makefile.in 2008-11-22 19:10:52.000000000 -0500 256 +++ shadow-4.1.2.2/man/fi/Makefile.in 2009-01-0 3 16:35:59.456642085-0500271 +++ shadow-4.1.2.2/man/fi/Makefile.in 2009-01-04 17:35:46.190976966 -0500 257 272 @@ -185,6 +185,7 @@ 258 273 srcdir = @srcdir@ … … 265 280 diff -Naur shadow-4.1.2.2.orig/man/fr/Makefile.in shadow-4.1.2.2/man/fr/Makefile.in 266 281 --- shadow-4.1.2.2.orig/man/fr/Makefile.in 2008-11-22 19:10:52.000000000 -0500 267 +++ shadow-4.1.2.2/man/fr/Makefile.in 2009-01-0 3 16:35:59.503309047-0500282 +++ shadow-4.1.2.2/man/fr/Makefile.in 2009-01-04 17:35:46.190976966 -0500 268 283 @@ -192,6 +192,7 @@ 269 284 srcdir = @srcdir@ … … 276 291 diff -Naur shadow-4.1.2.2.orig/man/hu/Makefile.in shadow-4.1.2.2/man/hu/Makefile.in 277 292 --- shadow-4.1.2.2.orig/man/hu/Makefile.in 2008-11-22 19:10:52.000000000 -0500 278 +++ shadow-4.1.2.2/man/hu/Makefile.in 2009-01-0 3 16:35:59.546642165-0500293 +++ shadow-4.1.2.2/man/hu/Makefile.in 2009-01-04 17:35:46.190976966 -0500 279 294 @@ -188,6 +188,7 @@ 280 295 srcdir = @srcdir@ … … 287 302 diff -Naur shadow-4.1.2.2.orig/man/id/Makefile.in shadow-4.1.2.2/man/id/Makefile.in 288 303 --- shadow-4.1.2.2.orig/man/id/Makefile.in 2008-11-22 19:10:52.000000000 -0500 289 +++ shadow-4.1.2.2/man/id/Makefile.in 2009-01-0 3 16:35:59.586642269-0500304 +++ shadow-4.1.2.2/man/id/Makefile.in 2009-01-04 17:35:46.190976966 -0500 290 305 @@ -186,6 +186,7 @@ 291 306 srcdir = @srcdir@ … … 298 313 diff -Naur shadow-4.1.2.2.orig/man/it/Makefile.in shadow-4.1.2.2/man/it/Makefile.in 299 314 --- shadow-4.1.2.2.orig/man/it/Makefile.in 2008-11-22 19:10:52.000000000 -0500 300 +++ shadow-4.1.2.2/man/it/Makefile.in 2009-01-0 3 16:35:59.636642408-0500315 +++ shadow-4.1.2.2/man/it/Makefile.in 2009-01-04 17:35:46.190976966 -0500 301 316 @@ -192,6 +192,7 @@ 302 317 srcdir = @srcdir@ … … 309 324 diff -Naur shadow-4.1.2.2.orig/man/ja/Makefile.in shadow-4.1.2.2/man/ja/Makefile.in 310 325 --- shadow-4.1.2.2.orig/man/ja/Makefile.in 2008-11-22 19:10:52.000000000 -0500 311 +++ shadow-4.1.2.2/man/ja/Makefile.in 2009-01-0 3 16:35:59.679975526 -0500326 +++ shadow-4.1.2.2/man/ja/Makefile.in 2009-01-04 17:35:46.190976966 -0500 312 327 @@ -189,6 +189,7 @@ 313 328 srcdir = @srcdir@ … … 320 335 diff -Naur shadow-4.1.2.2.orig/man/ko/Makefile.in shadow-4.1.2.2/man/ko/Makefile.in 321 336 --- shadow-4.1.2.2.orig/man/ko/Makefile.in 2008-11-22 19:10:52.000000000 -0500 322 +++ shadow-4.1.2.2/man/ko/Makefile.in 2009-01-0 3 16:35:59.719975591-0500337 +++ shadow-4.1.2.2/man/ko/Makefile.in 2009-01-04 17:35:46.190976966 -0500 323 338 @@ -188,6 +188,7 @@ 324 339 srcdir = @srcdir@ … … 331 346 diff -Naur shadow-4.1.2.2.orig/man/Makefile.in shadow-4.1.2.2/man/Makefile.in 332 347 --- shadow-4.1.2.2.orig/man/Makefile.in 2008-11-22 19:10:52.000000000 -0500 333 +++ shadow-4.1.2.2/man/Makefile.in 2009-01-0 3 16:35:59.286433011-0500348 +++ shadow-4.1.2.2/man/Makefile.in 2009-01-04 17:35:46.190976966 -0500 334 349 @@ -204,6 +204,7 @@ 335 350 srcdir = @srcdir@ … … 342 357 diff -Naur shadow-4.1.2.2.orig/man/pl/Makefile.in shadow-4.1.2.2/man/pl/Makefile.in 343 358 --- shadow-4.1.2.2.orig/man/pl/Makefile.in 2008-11-22 19:10:52.000000000 -0500 344 +++ shadow-4.1.2.2/man/pl/Makefile.in 2009-01-0 3 16:35:59.766642065-0500359 +++ shadow-4.1.2.2/man/pl/Makefile.in 2009-01-04 17:35:46.190976966 -0500 345 360 @@ -191,6 +191,7 @@ 346 361 srcdir = @srcdir@ … … 353 368 diff -Naur shadow-4.1.2.2.orig/man/pt_BR/Makefile.in shadow-4.1.2.2/man/pt_BR/Makefile.in 354 369 --- shadow-4.1.2.2.orig/man/pt_BR/Makefile.in 2008-11-22 19:10:52.000000000 -0500 355 +++ shadow-4.1.2.2/man/pt_BR/Makefile.in 2009-01-0 3 16:35:59.809975610-0500370 +++ shadow-4.1.2.2/man/pt_BR/Makefile.in 2009-01-04 17:35:46.194310377 -0500 356 371 @@ -188,6 +188,7 @@ 357 372 srcdir = @srcdir@ … … 364 379 diff -Naur shadow-4.1.2.2.orig/man/ru/Makefile.in shadow-4.1.2.2/man/ru/Makefile.in 365 380 --- shadow-4.1.2.2.orig/man/ru/Makefile.in 2008-11-22 19:10:52.000000000 -0500 366 +++ shadow-4.1.2.2/man/ru/Makefile.in 2009-01-0 3 16:35:59.856642153-0500381 +++ shadow-4.1.2.2/man/ru/Makefile.in 2009-01-04 17:35:46.194310377 -0500 367 382 @@ -192,6 +192,7 @@ 368 383 srcdir = @srcdir@ … … 375 390 diff -Naur shadow-4.1.2.2.orig/man/sv/Makefile.in shadow-4.1.2.2/man/sv/Makefile.in 376 391 --- shadow-4.1.2.2.orig/man/sv/Makefile.in 2008-11-22 19:10:52.000000000 -0500 377 +++ shadow-4.1.2.2/man/sv/Makefile.in 2009-01-0 3 16:35:59.906642194-0500392 +++ shadow-4.1.2.2/man/sv/Makefile.in 2009-01-04 17:35:46.197643570 -0500 378 393 @@ -192,6 +192,7 @@ 379 394 srcdir = @srcdir@ … … 386 401 diff -Naur shadow-4.1.2.2.orig/man/tr/Makefile.in shadow-4.1.2.2/man/tr/Makefile.in 387 402 --- shadow-4.1.2.2.orig/man/tr/Makefile.in 2008-11-22 19:10:53.000000000 -0500 388 +++ shadow-4.1.2.2/man/tr/Makefile.in 2009-01-0 3 16:35:59.949975473-0500403 +++ shadow-4.1.2.2/man/tr/Makefile.in 2009-01-04 17:35:46.197643570 -0500 389 404 @@ -188,6 +188,7 @@ 390 405 srcdir = @srcdir@ … … 397 412 diff -Naur shadow-4.1.2.2.orig/man/zh_CN/Makefile.in shadow-4.1.2.2/man/zh_CN/Makefile.in 398 413 --- shadow-4.1.2.2.orig/man/zh_CN/Makefile.in 2008-11-22 19:10:53.000000000 -0500 399 +++ shadow-4.1.2.2/man/zh_CN/Makefile.in 2009-01-0 3 16:35:59.989975456-0500414 +++ shadow-4.1.2.2/man/zh_CN/Makefile.in 2009-01-04 17:35:46.197643570 -0500 400 415 @@ -190,6 +190,7 @@ 401 416 srcdir = @srcdir@ … … 408 423 diff -Naur shadow-4.1.2.2.orig/man/zh_TW/Makefile.in shadow-4.1.2.2/man/zh_TW/Makefile.in 409 424 --- shadow-4.1.2.2.orig/man/zh_TW/Makefile.in 2008-11-22 19:10:53.000000000 -0500 410 +++ shadow-4.1.2.2/man/zh_TW/Makefile.in 2009-01-0 3 16:36:00.033308778-0500425 +++ shadow-4.1.2.2/man/zh_TW/Makefile.in 2009-01-04 17:35:46.197643570 -0500 411 426 @@ -190,6 +190,7 @@ 412 427 srcdir = @srcdir@ … … 419 434 diff -Naur shadow-4.1.2.2.orig/src/chage.c shadow-4.1.2.2/src/chage.c 420 435 --- shadow-4.1.2.2.orig/src/chage.c 2008-11-22 18:11:13.000000000 -0500 421 +++ shadow-4.1.2.2/src/chage.c 2009-01-0 3 16:29:00.446477258-0500436 +++ shadow-4.1.2.2/src/chage.c 2009-01-04 17:35:46.197643570 -0500 422 437 @@ -759,7 +759,7 @@ 423 438 … … 429 444 if (amroot && (is_selinux_enabled () > 0)) { 430 445 amroot = (selinux_check_passwd_access (PASSWD__ROOTOK) == 0); 446 diff -Naur shadow-4.1.2.2.orig/src/chfn.c shadow-4.1.2.2/src/chfn.c 447 --- shadow-4.1.2.2.orig/src/chfn.c 2008-11-22 18:11:13.000000000 -0500 448 +++ shadow-4.1.2.2/src/chfn.c 2009-01-04 17:36:38.497642038 -0500 449 @@ -712,7 +712,7 @@ 450 451 SYSLOG ((LOG_INFO, "changed user `%s' information", user)); 452 453 - nscd_flush_cache ("passwd"); 454 +// nscd_flush_cache ("passwd"); 455 456 #ifdef USE_PAM 457 pam_end (pamh, PAM_SUCCESS); 458 diff -Naur shadow-4.1.2.2.orig/src/chgpasswd.c shadow-4.1.2.2/src/chgpasswd.c 459 --- shadow-4.1.2.2.orig/src/chgpasswd.c 2008-11-22 18:11:13.000000000 -0500 460 +++ shadow-4.1.2.2/src/chgpasswd.c 2009-01-04 17:36:51.777440247 -0500 461 @@ -487,7 +487,7 @@ 462 463 close_files (); 464 465 - nscd_flush_cache ("group"); 466 +// nscd_flush_cache ("group"); 467 468 #ifdef USE_PAM 469 pam_end (pamh, PAM_SUCCESS); 470 diff -Naur shadow-4.1.2.2.orig/src/chpasswd.c shadow-4.1.2.2/src/chpasswd.c 471 --- shadow-4.1.2.2.orig/src/chpasswd.c 2008-11-22 18:11:13.000000000 -0500 472 +++ shadow-4.1.2.2/src/chpasswd.c 2009-01-04 17:37:03.177974182 -0500 473 @@ -472,7 +472,7 @@ 474 475 close_files (); 476 477 - nscd_flush_cache ("passwd"); 478 +// nscd_flush_cache ("passwd"); 479 480 #ifdef USE_PAM 481 pam_end (pamh, PAM_SUCCESS); 431 482 diff -Naur shadow-4.1.2.2.orig/src/chsh.c shadow-4.1.2.2/src/chsh.c 432 483 --- shadow-4.1.2.2.orig/src/chsh.c 2008-11-22 18:11:13.000000000 -0500 433 +++ shadow-4.1.2.2/src/chsh.c 2009-01-0 3 16:29:34.126477989-0500484 +++ shadow-4.1.2.2/src/chsh.c 2009-01-04 17:37:20.960781498 -0500 434 485 @@ -55,7 +55,7 @@ 435 486 #include "pam_defs.h" … … 450 501 /* 451 502 * Get the program name. The program name is used as a prefix to 503 @@ -540,7 +540,7 @@ 504 505 SYSLOG ((LOG_INFO, "changed user `%s' shell to `%s'", user, loginsh)); 506 507 - nscd_flush_cache ("passwd"); 508 +// nscd_flush_cache ("passwd"); 509 510 #ifdef USE_PAM 511 pam_end (pamh, PAM_SUCCESS); 452 512 diff -Naur shadow-4.1.2.2.orig/src/gpasswd.c shadow-4.1.2.2/src/gpasswd.c 453 513 --- shadow-4.1.2.2.orig/src/gpasswd.c 2008-11-22 18:11:13.000000000 -0500 454 +++ shadow-4.1.2.2/src/gpasswd.c 2009-01-0 3 16:30:45.080269910-0500514 +++ shadow-4.1.2.2/src/gpasswd.c 2009-01-04 17:37:35.680767524 -0500 455 515 @@ -81,7 +81,7 @@ 456 516 /* The UID of the caller */ … … 478 538 479 539 open_files (); 540 @@ -988,7 +990,7 @@ 541 542 close_files (); 543 544 - nscd_flush_cache ("group"); 545 +// nscd_flush_cache ("group"); 546 547 exit (E_SUCCESS); 548 } 549 diff -Naur shadow-4.1.2.2.orig/src/groupadd.c shadow-4.1.2.2/src/groupadd.c 550 --- shadow-4.1.2.2.orig/src/groupadd.c 2008-11-22 18:11:13.000000000 -0500 551 +++ shadow-4.1.2.2/src/groupadd.c 2009-01-04 17:37:45.808677407 -0500 552 @@ -575,7 +575,7 @@ 553 grp_update (); 554 close_files (); 555 556 - nscd_flush_cache ("group"); 557 +// nscd_flush_cache ("group"); 558 559 #ifdef USE_PAM 560 pam_end (pamh, PAM_SUCCESS); 561 diff -Naur shadow-4.1.2.2.orig/src/groupdel.c shadow-4.1.2.2/src/groupdel.c 562 --- shadow-4.1.2.2.orig/src/groupdel.c 2008-11-22 18:11:13.000000000 -0500 563 +++ shadow-4.1.2.2/src/groupdel.c 2009-01-04 17:37:59.640771523 -0500 564 @@ -366,7 +366,7 @@ 565 566 close_files (); 567 568 - nscd_flush_cache ("group"); 569 +// nscd_flush_cache ("group"); 570 571 #ifdef USE_PAM 572 if (retval == PAM_SUCCESS) 573 diff -Naur shadow-4.1.2.2.orig/src/groupmod.c shadow-4.1.2.2/src/groupmod.c 574 --- shadow-4.1.2.2.orig/src/groupmod.c 2008-11-22 18:11:13.000000000 -0500 575 +++ shadow-4.1.2.2/src/groupmod.c 2009-01-04 17:38:10.984091461 -0500 576 @@ -694,7 +694,7 @@ 577 578 close_files (); 579 580 - nscd_flush_cache ("group"); 581 +// nscd_flush_cache ("group"); 582 583 #ifdef USE_PAM 584 if (retval == PAM_SUCCESS) 585 diff -Naur shadow-4.1.2.2.orig/src/grpck.c shadow-4.1.2.2/src/grpck.c 586 --- shadow-4.1.2.2.orig/src/grpck.c 2008-11-22 18:11:13.000000000 -0500 587 +++ shadow-4.1.2.2/src/grpck.c 2009-01-04 17:38:25.327423087 -0500 588 @@ -777,7 +777,7 @@ 589 /* Commit the change in the database if needed */ 590 close_files (changed); 591 592 - nscd_flush_cache ("group"); 593 +// nscd_flush_cache ("group"); 594 595 /* 596 * Tell the user what we did and exit. 597 diff -Naur shadow-4.1.2.2.orig/src/grpconv.c shadow-4.1.2.2/src/grpconv.c 598 --- shadow-4.1.2.2.orig/src/grpconv.c 2008-11-22 18:11:13.000000000 -0500 599 +++ shadow-4.1.2.2/src/grpconv.c 2009-01-04 17:38:32.594090975 -0500 600 @@ -179,7 +179,7 @@ 601 sgr_unlock (); 602 gr_unlock (); 603 604 - nscd_flush_cache ("group"); 605 +// nscd_flush_cache ("group"); 606 607 return 0; 608 } 609 diff -Naur shadow-4.1.2.2.orig/src/grpunconv.c shadow-4.1.2.2/src/grpunconv.c 610 --- shadow-4.1.2.2.orig/src/grpunconv.c 2008-11-22 18:11:13.000000000 -0500 611 +++ shadow-4.1.2.2/src/grpunconv.c 2009-01-04 17:38:45.274092355 -0500 612 @@ -142,7 +142,7 @@ 613 sgr_unlock (); 614 gr_unlock (); 615 616 - nscd_flush_cache ("group"); 617 +// nscd_flush_cache ("group"); 618 619 return 0; 620 } 480 621 diff -Naur shadow-4.1.2.2.orig/src/login_nopam.c shadow-4.1.2.2/src/login_nopam.c 481 622 --- shadow-4.1.2.2.orig/src/login_nopam.c 2008-11-22 18:11:13.000000000 -0500 482 +++ shadow-4.1.2.2/src/login_nopam.c 2009-01-0 3 16:31:03.632276734-0500623 +++ shadow-4.1.2.2/src/login_nopam.c 2009-01-04 17:35:46.197643570 -0500 483 624 @@ -59,7 +59,7 @@ 484 625 … … 492 633 diff -Naur shadow-4.1.2.2.orig/src/logoutd.c shadow-4.1.2.2/src/logoutd.c 493 634 --- shadow-4.1.2.2.orig/src/logoutd.c 2008-11-22 18:11:13.000000000 -0500 494 +++ shadow-4.1.2.2/src/logoutd.c 2009-01-0 3 16:31:27.006497488-0500635 +++ shadow-4.1.2.2/src/logoutd.c 2009-01-04 17:35:46.197643570 -0500 495 636 @@ -50,7 +50,7 @@ 496 637 #endif … … 504 645 diff -Naur shadow-4.1.2.2.orig/src/Makefile.am shadow-4.1.2.2/src/Makefile.am 505 646 --- shadow-4.1.2.2.orig/src/Makefile.am 2008-11-22 18:11:13.000000000 -0500 506 +++ shadow-4.1.2.2/src/Makefile.am 2009-01-0 3 16:28:27.703358175-0500647 +++ shadow-4.1.2.2/src/Makefile.am 2009-01-04 17:35:46.197643570 -0500 507 648 @@ -3,7 +3,7 @@ 508 649 .indent.pro … … 541 682 diff -Naur shadow-4.1.2.2.orig/src/Makefile.in shadow-4.1.2.2/src/Makefile.in 542 683 --- shadow-4.1.2.2.orig/src/Makefile.in 2008-11-22 19:10:53.000000000 -0500 543 +++ shadow-4.1.2.2/src/Makefile.in 2009-01-0 3 16:36:00.163099745 -0500684 +++ shadow-4.1.2.2/src/Makefile.in 2009-01-04 17:35:46.200767525 -0500 544 685 @@ -371,13 +371,14 @@ 545 686 srcdir = @srcdir@ … … 587 728 diff -Naur shadow-4.1.2.2.orig/src/newgrp.c shadow-4.1.2.2/src/newgrp.c 588 729 --- shadow-4.1.2.2.orig/src/newgrp.c 2008-11-22 18:11:13.000000000 -0500 589 +++ shadow-4.1.2.2/src/newgrp.c 2009-01-0 3 16:31:58.550641551-0500730 +++ shadow-4.1.2.2/src/newgrp.c 2009-01-04 17:35:46.200767525 -0500 590 731 @@ -270,7 +270,7 @@ 591 732 if (child < 0) { … … 606 747 argc--; 607 748 argv++; 749 diff -Naur shadow-4.1.2.2.orig/src/newusers.c shadow-4.1.2.2/src/newusers.c 750 --- shadow-4.1.2.2.orig/src/newusers.c 2008-11-22 18:11:13.000000000 -0500 751 +++ shadow-4.1.2.2/src/newusers.c 2009-01-04 17:39:02.984711408 -0500 752 @@ -865,8 +865,8 @@ 753 754 close_files (); 755 756 - nscd_flush_cache ("passwd"); 757 - nscd_flush_cache ("group"); 758 +// nscd_flush_cache ("passwd"); 759 +// nscd_flush_cache ("group"); 760 761 #ifdef USE_PAM 762 pam_end (pamh, PAM_SUCCESS); 608 763 diff -Naur shadow-4.1.2.2.orig/src/passwd.c shadow-4.1.2.2/src/passwd.c 609 764 --- shadow-4.1.2.2.orig/src/passwd.c 2008-11-22 18:11:13.000000000 -0500 610 +++ shadow-4.1.2.2/src/passwd.c 2009-01-0 3 16:32:39.916453154-0500765 +++ shadow-4.1.2.2/src/passwd.c 2009-01-04 17:39:10.697416330 -0500 611 766 @@ -717,7 +717,7 @@ 612 767 * The program behaves differently when executed by root than when … … 618 773 /* 619 774 * Get the program name. The program name is used as a prefix to 620 @@ -998,1 2 +998,14@@775 @@ -998,19 +998,21 @@ 621 776 exit (E_SUCCESS); 622 777 } … … 633 788 update_shadow (); 634 789 else 790 update_noshadow (); 791 792 - nscd_flush_cache ("passwd"); 793 - nscd_flush_cache ("group"); 794 +// nscd_flush_cache ("passwd"); 795 +// nscd_flush_cache ("group"); 796 797 SYSLOG ((LOG_INFO, "password for `%s' changed by `%s'", name, myname)); 798 closelog (); 799 diff -Naur shadow-4.1.2.2.orig/src/pwck.c shadow-4.1.2.2/src/pwck.c 800 --- shadow-4.1.2.2.orig/src/pwck.c 2008-11-22 18:11:13.000000000 -0500 801 +++ shadow-4.1.2.2/src/pwck.c 2009-01-04 17:39:28.314083740 -0500 802 @@ -636,7 +636,7 @@ 803 804 close_files (changed); 805 806 - nscd_flush_cache ("passwd"); 807 +// nscd_flush_cache ("passwd"); 808 809 /* 810 * Tell the user what we did and exit. 811 diff -Naur shadow-4.1.2.2.orig/src/pwconv.c shadow-4.1.2.2/src/pwconv.c 812 --- shadow-4.1.2.2.orig/src/pwconv.c 2008-11-22 18:11:13.000000000 -0500 813 +++ shadow-4.1.2.2/src/pwconv.c 2009-01-04 17:39:39.097415639 -0500 814 @@ -208,7 +208,7 @@ 815 spw_unlock (); 816 pw_unlock (); 817 818 - nscd_flush_cache ("passwd"); 819 +// nscd_flush_cache ("passwd"); 820 821 exit (E_SUCCESS); 822 } 823 diff -Naur shadow-4.1.2.2.orig/src/pwunconv.c shadow-4.1.2.2/src/pwunconv.c 824 --- shadow-4.1.2.2.orig/src/pwunconv.c 2008-11-22 18:11:13.000000000 -0500 825 +++ shadow-4.1.2.2/src/pwunconv.c 2009-01-04 17:39:49.297468490 -0500 826 @@ -149,7 +149,7 @@ 827 spw_unlock (); 828 pw_unlock (); 829 830 - nscd_flush_cache ("passwd"); 831 +// nscd_flush_cache ("passwd"); 832 833 return 0; 834 } 635 835 diff -Naur shadow-4.1.2.2.orig/src/suauth.c shadow-4.1.2.2/src/suauth.c 636 836 --- shadow-4.1.2.2.orig/src/suauth.c 2008-11-22 18:11:13.000000000 -0500 637 +++ shadow-4.1.2.2/src/suauth.c 2009-01-0 3 16:32:55.693118219-0500837 +++ shadow-4.1.2.2/src/suauth.c 2009-01-04 17:35:46.200767525 -0500 638 838 @@ -40,7 +40,7 @@ 639 839 #include "prototypes.h" … … 647 847 diff -Naur shadow-4.1.2.2.orig/src/useradd.c shadow-4.1.2.2/src/useradd.c 648 848 --- shadow-4.1.2.2.orig/src/useradd.c 2008-11-22 18:11:13.000000000 -0500 649 +++ shadow-4.1.2.2/src/useradd.c 2009-01-0 3 16:33:52.903758217-0500849 +++ shadow-4.1.2.2/src/useradd.c 2009-01-04 17:40:06.618042276 -0500 650 850 @@ -64,11 +64,11 @@ 651 851 #include "shadowio.h" … … 663 863 /* 664 864 * Needed for MkLinux DR1/2/2.1 - J. 865 @@ -1751,8 +1751,8 @@ 866 867 close_files (); 868 869 - nscd_flush_cache ("passwd"); 870 - nscd_flush_cache ("group"); 871 +// nscd_flush_cache ("passwd"); 872 +// nscd_flush_cache ("group"); 873 874 #ifdef USE_PAM 875 if (retval == PAM_SUCCESS) 876 diff -Naur shadow-4.1.2.2.orig/src/userdel.c shadow-4.1.2.2/src/userdel.c 877 --- shadow-4.1.2.2.orig/src/userdel.c 2008-11-22 18:11:13.000000000 -0500 878 +++ shadow-4.1.2.2/src/userdel.c 2009-01-04 17:40:20.458047660 -0500 879 @@ -818,8 +818,8 @@ 880 user_cancel (user_name); 881 close_files (); 882 883 - nscd_flush_cache ("passwd"); 884 - nscd_flush_cache ("group"); 885 +// nscd_flush_cache ("passwd"); 886 +// nscd_flush_cache ("group"); 887 888 #ifdef USE_PAM 889 if (retval == PAM_SUCCESS) 890 diff -Naur shadow-4.1.2.2.orig/src/usermod.c shadow-4.1.2.2/src/usermod.c 891 --- shadow-4.1.2.2.orig/src/usermod.c 2008-11-22 18:11:13.000000000 -0500 892 +++ shadow-4.1.2.2/src/usermod.c 2009-01-04 17:40:28.647917233 -0500 893 @@ -1531,8 +1531,8 @@ 894 grp_update (); 895 close_files (); 896 897 - nscd_flush_cache ("passwd"); 898 - nscd_flush_cache ("group"); 899 +// nscd_flush_cache ("passwd"); 900 +// nscd_flush_cache ("group"); 901 902 if (mflg) 903 move_home (); 665 904 diff -Naur shadow-4.1.2.2.orig/src/vipw.c shadow-4.1.2.2/src/vipw.c 666 905 --- shadow-4.1.2.2.orig/src/vipw.c 2008-11-22 18:11:13.000000000 -0500 667 +++ shadow-4.1.2.2/src/vipw.c 2009-01-0 3 16:35:01.086439030-0500906 +++ shadow-4.1.2.2/src/vipw.c 2009-01-04 17:40:43.305534712 -0500 668 907 @@ -257,7 +257,7 @@ 669 908 textdomain (PACKAGE); … … 675 914 { 676 915 /* 916 @@ -334,8 +334,8 @@ 917 #endif 918 } 919 920 - nscd_flush_cache ("passwd"); 921 - nscd_flush_cache ("group"); 922 +// nscd_flush_cache ("passwd"); 923 +// nscd_flush_cache ("group"); 924 925 exit (E_SUCCESS); 926 }
Note:
See TracChangeset
for help on using the changeset viewer.