summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2008-09-14 19:43:57 -0400
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2008-09-14 19:43:57 -0400
commitd454019309fb9887f40b2330866f26741b4e8078 (patch)
tree5cea5a9fdcad3115e8487e95cdfdda298c58aba2 /src
parentf81f2c89fac457574ce9a427af6c91ba85461d34 (diff)
The monkeysphere system user must have bash as its shell for the simple su invocation to work. Do not try to explicitly preserve the environment across an su, as this is the default, and -m implies using the login shell of the superuser under FreeBSD.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/monkeysphere-server4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/monkeysphere-server b/src/monkeysphere-server
index b1cacf9..db3687b 100755
--- a/src/monkeysphere-server
+++ b/src/monkeysphere-server
@@ -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