From: joey <> Date: Sat, 11 Aug 2007 09:00:17 +0000 (+0000) Subject: Patch by aba: Don't export the password when [NOPASSWD] is set X-Git-Tag: debian_userdir-ldap_0-3-14~8 X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=commitdiff_plain;h=988b89d92fcb60624068681b77f669815f266056 Patch by aba: Don't export the password when [NOPASSWD] is set --- diff --git a/ud-generate b/ud-generate index 63cf2bf..b7ca633 100755 --- a/ud-generate +++ b/ud-generate @@ -809,7 +809,8 @@ while(1): GenGroup(l,OutDir+"group"); if ExtraList.has_key("[UNTRUSTED]"): continue; - GenShadow(l,OutDir+"shadow"); + if not ExtraList.has_key("[NOPASSWD]"): + GenShadow(l,OutDir+"shadow"); # Link in global things DoLink(GlobalDir,OutDir,"markers");