New commits:
commit 04bd971a7952e5ca0ae3c62515c570190b498ef4
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>
shadow: clean up home dir configuration
diff --git a/security/shadow/CONFIGURE b/security/shadow/CONFIGURE
index ed1bef6..92d4ed2 100755
--- a/security/shadow/CONFIGURE
+++ b/security/shadow/CONFIGURE
@@ -30,14 +30,12 @@ interactively" &&
fi
# the tools give negative return even after successfully fixing stuff
true &&
-# Unsure about TRACK_ROOT here
+# 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" &&
-if ! [[ -e "$INSTALL_ROOT/$SHADOW_HOME" ]]; then
- message "$SHADOW_HOME does not seem to exist, it's up to you to take care
of
-that..."
-fi
+config_query_string SHADOW_HOME "base directory for user homes:"
"$default_home"
diff --git a/security/shadow/HISTORY b/security/shadow/HISTORY
index dd20361..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
[SM-Commit] GIT changes to devel-shadow grimoire by Thomas Orgis (04bd971a7952e5ca0ae3c62515c570190b498ef4),
Thomas Orgis, 08/22/2008