The monkeysphere system user must have bash as its shell for the simple su invocation...
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Sun, 14 Sep 2008 23:43:57 +0000 (19:43 -0400)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Sun, 14 Sep 2008 23:43:57 +0000 (19:43 -0400)
debian/monkeysphere.postinst
packaging/freebsd/distinfo
packaging/freebsd/pkg-install
src/monkeysphere-server

index d3c3b96fb341e16b10749f92485a2a5b5135acde..981c9dfb23d3ef0171f2f327a37f9d29ca644bc5 100755 (executable)
@@ -11,7 +11,7 @@ if ! getent passwd monkeysphere >/dev/null ; then
     echo "adding monkeysphere user..."
     adduser --quiet --system --no-create-home --group \
        --home "$VARLIB" \
-       --shell '/bin/sh' \
+       --shell '/bin/bash' \
        --gecos 'monkeysphere authentication user,,,' \
        monkeysphere
 fi
index d590579d8aaba5ce4a722ee9a2b303177160cbaa..26aa939e24e51ad4a404096627b9f8dd4f2d6308 100644 (file)
@@ -1,3 +1,3 @@
-MD5 (monkeysphere_0.16~pre.orig.tar.gz) = bda65df4e378e72f3edf02936b2b5f34
-SHA256 (monkeysphere_0.16~pre.orig.tar.gz) = d0c85ad5cdd9b7a61333adf56714e3b25f1bd619bbc40279db759347b17980fe
-SIZE (monkeysphere_0.16~pre.orig.tar.gz) = 59241
+MD5 (monkeysphere_0.16~pre.orig.tar.gz) = e94bc8371adf8ce30c58ec040e436417
+SHA256 (monkeysphere_0.16~pre.orig.tar.gz) = f8543778c6ae5a7a87dcb03e34980436f6d967edeb87ccfac2cc19c750f4e588
+SIZE (monkeysphere_0.16~pre.orig.tar.gz) = 59253
index 92a4bbc759610ac78aeef2fd7a71d7f002d3ef2a..6783ee84b05effb443e73d169ab331bda4f2cb21 100755 (executable)
@@ -38,7 +38,7 @@ POST-INSTALL)
                 echo "You already have a user \"${USER}\", so I will use it."
         else
                 if pw useradd ${USER} -u ${UID} -g ${GROUP} -h - \
-                        -d "$VARLIB" -s /bin/sh -c "monkeysphere authentication user,,,"
+                        -d "$VARLIB" -s /usr/local/bin/bash -c "monkeysphere authentication user,,,"
                 then
                         echo "Added user \"${USER}\"."
                 else
index b1cacf9e5c8843b2cdc49d8970dbf906da82a1b7..db3687bda3b7c185c7bc1e34f63f853afaa1e1eb 100755 (executable)
@@ -67,7 +67,7 @@ EOF
 }
 
 su_monkeysphere_user() {
-    su -m "$MONKEYSPHERE_USER" -c "$@"
+    su "$MONKEYSPHERE_USER" -c "$@"
 }
 
 # function to interact with the host gnupg keyring
@@ -571,7 +571,7 @@ diagnostics() {
     warndate=$(advance_date $warnwindow +%s)
 
     if ! id monkeysphere >/dev/null ; then
-       echo "! No monkeysphere user found!  Please create a monkeysphere system user."
+       echo "! No monkeysphere user found!  Please create a monkeysphere system user with bash as its shell."
        problemsfound=$(($problemsfound+1))
     fi