Skip to Content.
Sympa Menu

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

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Thomas Orgis <scm AT mail.sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Thomas Orgis (26a006cba59cb94eadf9401c252c390c417f6ca0)
  • Date: Thu, 8 Feb 2007 01:48:47 -0600

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

http/oba/HISTORY | 3 +++
http/oba/INSTALL | 8 +++++---
security/shadow/CONFIGURE | 12 ++++--------
security/shadow/HISTORY | 3 +++
4 files changed, 15 insertions(+), 11 deletions(-)

New commits:
commit 26a006cba59cb94eadf9401c252c390c417f6ca0
Author: Thomas Orgis <sobukus AT sourcemage.org>
Commit: Thomas Orgis <sobukus AT sourcemage.org>

oba: fix bug 11620

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

simplify shadow by not pretending to work on INSTALL_ROOT - pwck does,
but pwconv not; this also makes the existence check for the shadow
files unnecessary

diff --git a/http/oba/HISTORY b/http/oba/HISTORY
index 7ef2a1a..e45f76a 100644
--- a/http/oba/HISTORY
+++ b/http/oba/HISTORY
@@ -1,3 +1,6 @@
+2007-02-08 Thomas Orgis <sobukus AT sourcemage.org>
+ * INSTALL: create www-data user/group
+
2006-10-03 Juuso Alasuutari <iuso AT sourcemage.org>
* DETAILS: [automated] Removed UPDATED.

diff --git a/http/oba/INSTALL b/http/oba/INSTALL
index e3fa258..01f4fbd 100755
--- a/http/oba/INSTALL
+++ b/http/oba/INSTALL
@@ -15,8 +15,10 @@ fi &&
mkdir -p $OBA_LOC

rm -f apache.conf setup.sh &&
-chown -R www-data.www-data * &&
-chmod 755 * -Rf &&
-chmod 777 users/ -Rf &&
+create_account www-data &&
+create_group www-data &&
+chown -R www-data:www-data * &&
+chmod -Rf 755 * &&
+chmod -Rf 777 users/ &&
chmod 777 templates/ -Rf &&
cp -r * $OBA_LOC
diff --git a/security/shadow/CONFIGURE b/security/shadow/CONFIGURE
index c50c0f8..7ad9599 100755
--- a/security/shadow/CONFIGURE
+++ b/security/shadow/CONFIGURE
@@ -15,22 +15,18 @@ else
fi &&
if [[ "$SHADOW_CONV" == y ]] || [[ "$SHADOW_RECONV" == y ]]; then
message "OK, checking your user and group accounts" &&
- if [ -f "$INSTALL_ROOT/etc/gshadow" ]; then
- grpck -r "$INSTALL_ROOT/etc/group" "$INSTALL_ROOT/etc/gshadow" ||
+ grpck -r ||
{
message "there are problems with group... runinng grpck
interactively" &&
- grpck "$INSTALL_ROOT/etc/group" "$INSTALL_ROOT/etc/gshadow"
+ grpck
}
- fi
- if [ -f "$INSTALL_ROOT/etc/shadow" ]; then
- pwck -q -r "$INSTALL_ROOT/etc/passwd" "$INSTALL_ROOT/etc/shadow" ||
+ pwck -q -r ||
{
message "there are problems with passwd... runinng pwpck
interactively" &&
- pwck "$INSTALL_ROOT/etc/passwd" "$INSTALL_ROOT/etc/shadow"
+ pwck
}
- fi
fi
# the tools give negative return even after successfully fixing stuff
true
diff --git a/security/shadow/HISTORY b/security/shadow/HISTORY
index 8bdcf00..d4ee404 100644
--- a/security/shadow/HISTORY
+++ b/security/shadow/HISTORY
@@ -1,5 +1,8 @@
2007-02-07 Thomas Orgis <sobukus AT sourcemage.org>
* CONFIGURE: neverending story... really run pwck when checking
passwd files!
+ * CONFIGURE: also removed the whole $INSTALL_ROOT thing: it is not
for real,
+ pwconv and grpconv will _always_ work on /etc, only the check
programs accept
+ the files as parameters - all account stuff operates on host box!

2007-02-07 Jeremy Blosser <jblosser-smgl AT firinn.org>
* CONFIGURE: Also don't bother trying to check files that aren't there



  • [SM-Commit] GIT changes to master grimoire by Thomas Orgis (26a006cba59cb94eadf9401c252c390c417f6ca0), Thomas Orgis, 02/08/2007

Archive powered by MHonArc 2.6.24.

Top of Page