Skip to Content.
Sympa Menu

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

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pol Vinogradov <vin.public AT gmail.com>
  • To: sm-commit AT lists.ibiblio.org
  • Cc: Thomas Orgis <sobukus AT sourcemage.org>
  • Subject: Re: [SM-Commit] GIT changes to master grimoire by Thomas Orgis (c0695802d6900775e09054cef09412bdd1fd8647)
  • Date: Tue, 23 Jan 2007 02:40:42 +0500

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/)

Attachment: pgpJ4mB9MLA8e.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page