summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Orgis2008-08-22 13:29:35 +0200
committerThomas Orgis2008-08-22 13:29:35 +0200
commit04bd971a7952e5ca0ae3c62515c570190b498ef4 (patch)
tree19022616da33297ff265b408ab60ab6d63fc9935
parent093360098123a3635573032e77e85e314bd6c499 (diff)
shadow: clean up home dir configurationdevel-shadow
-rwxr-xr-xsecurity/shadow/CONFIGURE10
-rw-r--r--security/shadow/HISTORY4
2 files changed, 8 insertions, 6 deletions
diff --git a/security/shadow/CONFIGURE b/security/shadow/CONFIGURE
index ed1bef64a0..92d4ed2c8b 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 dd20361279..1763f8df2a 100644
--- a/security/shadow/HISTORY
+++ b/security/shadow/HISTORY
@@ -1,3 +1,7 @@
+2008-08-22 Thomas Orgis <sobukus@sourcemage.org>
+ * CONFIGURE: clarify the home dir action and remove fake smartness
+ about directory existence
+
2008-08-22 Karsten Behrmann <BearPerson@gmx.net>
* TRIGGERS: smartify on_dispel linux-pam trigger so shadow won't
automatically recast with linux-pam still turned on