Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Thomas Orgis (67a8d78ae37124e5a78409b02e1f6c1b89350dc9)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Thomas Orgis <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Thomas Orgis (67a8d78ae37124e5a78409b02e1f6c1b89350dc9)
  • Date: Sun, 7 Sep 2008 09:14:02 -0500

GIT changes to master grimoire by Thomas Orgis <sobukus AT sourcemage.org>:

security/shadow/CONFIGURE | 11 ++++++++++-
security/shadow/DETAILS | 2 +-
security/shadow/FINAL | 1 +
security/shadow/HISTORY | 12 ++++++++++++
security/shadow/INSTALL | 2 +-
5 files changed, 25 insertions(+), 3 deletions(-)

New commits:
commit 04bd971a7952e5ca0ae3c62515c570190b498ef4
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>

shadow: clean up home dir configuration

commit 091e9ab891d9767bf4118c6d9624dac54a600c86
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>

shadow: restore my changes... move create_group to FINAL since it seems
to fail in stage root with PAM when in INSTALL,
not really cleared why, though (PAM only needs pam libs and config files,
which are available in the castfs...)

commit f373381803a6fa66431445c72ef398c796c0fab9
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>

Revert "Revert "shadow: bug 13505 and general fix for honoring config
files""

This reverts commit 66851e37ad6744232452f7bb698d364adfe1aaad.

diff --git a/security/shadow/CONFIGURE b/security/shadow/CONFIGURE
index 7ad9599..92d4ed2 100755
--- a/security/shadow/CONFIGURE
+++ b/security/shadow/CONFIGURE
@@ -29,4 +29,13 @@ interactively" &&
}
fi
# the tools give negative return even after successfully fixing stuff
-true
+true &&
+# We are asking the user for the home directory base she likes.
+# No TRACK_ROOT or anything, this is separate from the question where spell
files reside or are executed from!
+# Just a plain path as user chooses.
+local default_home=/home/users &&
+local old_home=$(grep '^HOME=' $INSTALL_ROOT/etc/default/useradd 2>/dev/null
| sed 's/HOME=//') &&
+if [[ -n "$old_home" ]]; then
+ default_home=$old_home
+fi &&
+config_query_string SHADOW_HOME "base directory for user homes:"
"$default_home"
diff --git a/security/shadow/DETAILS b/security/shadow/DETAILS
index 6602b85..a842f3e 100755
--- a/security/shadow/DETAILS
+++ b/security/shadow/DETAILS
@@ -6,7 +6,7 @@ SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
SOURCE_URL[0]=ftp://pkg-shadow.alioth.debian.org/pub/pkg-shadow/$SOURCE
WEB_SITE=http://pkg-shadow.alioth.debian.org/
ENTERED=20050303
- PATCHLEVEL=0
+ PATCHLEVEL=1
SECURITY_PATCH=3
KEYWORDS="security password"
SHORT="Shadow password file utilities"
diff --git a/security/shadow/FINAL b/security/shadow/FINAL
index 87461c7..23599c7 100755
--- a/security/shadow/FINAL
+++ b/security/shadow/FINAL
@@ -1,3 +1,4 @@
+create_group users &&
if [ "$SHADOW_CONV" == y ] || [ "$SHADOW_RECONV" == "y" ]; then
#Create or update necessary files for shadow
message "${MESSAGE_COLOR}running pwconv and grpconv" &&
diff --git a/security/shadow/HISTORY b/security/shadow/HISTORY
index 5e7f833..1763f8d 100644
--- a/security/shadow/HISTORY
+++ b/security/shadow/HISTORY
@@ -1,3 +1,7 @@
+2008-08-22 Thomas Orgis <sobukus AT sourcemage.org>
+ * CONFIGURE: clarify the home dir action and remove fake smartness
+ about directory existence
+
2008-08-22 Karsten Behrmann <BearPerson AT gmx.net>
* TRIGGERS: smartify on_dispel linux-pam trigger so shadow won't
automatically recast with linux-pam still turned on
@@ -38,6 +42,14 @@
/etc/defaults/useradd as config file (issues still open with this
one,
see bug 13505)

+2007-03-11 Thomas Orgis <sobukus AT sourcemage.org>
+ * FINAL: create users group, which is default upstream, change
+ default useradd to GROUP=users instead of GROUP=1000
+ * CONFIGURE,INSTALL: fix general config file install (prevent make
install
+ from overwriting) while applying a fix according to bug 13505, now
asks
+ for $HOME prefix to make adduser possibly work out of the box
+ * DETAILS: deserves a patchlevel
+
2007-03-08 Thomas Orgis <sobukus AT sourcemage.org>
* pam.d/*: replace all pam_unix_auth.so with pam-unix.so as only the
latter
remains with newer pam (but 13600)
diff --git a/security/shadow/INSTALL b/security/shadow/INSTALL
index f5c9a1e..9df6c63 100755
--- a/security/shadow/INSTALL
+++ b/security/shadow/INSTALL
@@ -6,7 +6,7 @@ make install DESTDIR=$INSTALL_ROOT &&
install_config_file etc/limits $INSTALL_ROOT/etc/limits &&
install_config_file etc/login.access $INSTALL_ROOT/etc/login.access &&
install_config_file etc/login.defs $INSTALL_ROOT/etc/login.defs &&
-
+sed -i -e 's,^HOME=.*$,HOME='"$SHADOW_HOME"',' -e
's,GROUP=1000,GROUP=users,' etc/useradd &&
mkdir -p $INSTALL_ROOT/etc/default &&
install_config_file etc/useradd $INSTALL_ROOT/etc/default/useradd &&




  • [SM-Commit] GIT changes to master grimoire by Thomas Orgis (67a8d78ae37124e5a78409b02e1f6c1b89350dc9), Thomas Orgis, 09/07/2008

Archive powered by MHonArc 2.6.24.

Top of Page