[Pkg-shadow-devel] [PATCH v2 5/5] Allow creating shadow files, when missing, via an option.

Mike Frysinger vapier at gentoo.org
Sun Apr 5 02:50:20 UTC 2015


On 01 Apr 2015 13:43, Dimitri John Ledkov wrote:
> +#
> +# Create shadow(5) and gshadow(5) files, when operations are invoked
> +# that could modify those. E.g. passwd/useradd/userdel/usermod etc.
> +# If this option is not set, shadow(5)/gshadow(5) files are updated,
> +# only if already present on disk.
> +#
> +#
> +#CREATE_SHADOW    yes
> ...
>  bool sgr_file_present (void)
>  {
> +	if (getdef_bool ("CREATE_SHADOW"))
> +		return true;
>  	return commonio_present (&gshadow_db);
>  }

looks to me like you're changing the default ?  it is now disabled by default 
instead of enabled by default.

the new name looks OK to me
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-shadow-devel/attachments/20150404/2d06f353/attachment.sig>


More information about the Pkg-shadow-devel mailing list