[SM-Commit] GIT changes to master grimoire by Thomas Orgis (c0695802d6900775e09054cef09412bdd1fd8647)

Pol Vinogradov vin.public at gmail.com
Mon Jan 22 16:40:42 EST 2007


On Mon, 22 Jan 2007 05:58:46 -0600
Thomas Orgis <scm at mail.sourcemage.org> wrote:

> diff --git a/security/shadow/CONFIGURE b/security/shadow/CONFIGURE
> new file mode 100755
> index 0000000..d796932
> --- /dev/null
> +++ b/security/shadow/CONFIGURE
> @@ -0,0 +1,18 @@
> +config_query SHADOW_CONV "Attempt to convert/fix accounts (with
> installed shadow utils)" y && +if [[ "$SHADOW_CONV" == y ]]; then
> +  message "OK, checking your user and group accounts" &&
> +  grpck -r "$INSTALL_ROOT/etc/group" "$INSTALL_ROOT/etc/gshadow" ||
> +  {
> +    message "there are problems with group... runinng grpck
> +interactively" &&
> +    grpck "$INSTALL_ROOT/etc/group" "$INSTALL_ROOT/etc/gshadow"
> +  }
> +  pwck -q -r "$INSTALL_ROOT/etc/passwd" "$INSTALL_ROOT/etc/shadow" ||
> +  {
> +    message "there are problems with passwd... runinng grpck
> +interactively" &&
> +    grpck "$INSTALL_ROOT/etc/passwd" "$INSTALL_ROOT/etc/shadow"
> +  }
> +fi
imho, there should be $TRACK_ROOT, see this:
http://sourcemage.org/node/1285

--
Sincerely yours Pol Vinogradov
E-mails: public at sourcemage.org; vin.public at gmail.com;
pol-vinogradov at mail.ru
Jabber ID: vinpol at jabber.ru
Registered as #384571 at Linux Counter (http://counter.li.org/)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/sm-commit/attachments/20070123/8381a52d/attachment.bin 


More information about the SM-Commit mailing list