diff options
author | Bill Nottingham <notting@redhat.com> | 2002-01-25 05:23:40 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2002-01-25 05:23:40 +0000 |
commit | 590aae606e2a4cb466d7cc4cd63222172d9fdeff (patch) | |
tree | ea75679247901de03bd50a9894e2db42c354b983 /rc.d/init.d/functions | |
parent | 543c9522feba2bff84f54c1d214d74f20ea0b5fd (diff) | |
download | initscripts-590aae606e2a4cb466d7cc4cd63222172d9fdeff.tar initscripts-590aae606e2a4cb466d7cc4cd63222172d9fdeff.tar.gz initscripts-590aae606e2a4cb466d7cc4cd63222172d9fdeff.tar.bz2 initscripts-590aae606e2a4cb466d7cc4cd63222172d9fdeff.tar.xz initscripts-590aae606e2a4cb466d7cc4cd63222172d9fdeff.zip |
make sure su calls bash (#55288)
Diffstat (limited to 'rc.d/init.d/functions')
-rwxr-xr-x | rc.d/init.d/functions | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/init.d/functions b/rc.d/init.d/functions index d8bbea80..f71954a9 100755 --- a/rc.d/init.d/functions +++ b/rc.d/init.d/functions @@ -138,7 +138,7 @@ daemon() { if [ -z "$user" ]; then $nice initlog $INITLOG_ARGS -c "$*" else - $nice initlog $INITLOG_ARGS -c "su - $user -c \"$*\"" + $nice initlog $INITLOG_ARGS -c "su -s /bin/bash - $user -c \"$*\"" fi [ "$?" -eq 0 ] && success $"$base startup" || failure $"$base startup" } |