Bug 34593

Summary: service: usage: su [-|-l] [-c "command"] [-s "shell"] [username]
Product: Sisyphus Reporter: Chess <slchess>
Component: serviceAssignee: Ivan Zakharyaschev <imz>
Status: CLOSED DUPLICATE QA Contact: qa-sisyphus
Severity: normal    
Priority: P3 CC: glebfm, ldv, legion, placeholder
Version: unstable   
Hardware: all   
OS: Linux   

Description Chess 2018-02-28 15:28:18 MSK
--- functions.orig      2018-02-28 15:18:30.127567139 +0300
+++ functions   2018-02-28 15:19:00.448288217 +0300
@@ -245,7 +245,7 @@
                        initlog $INITLOG_ARGS -n "$BASENAME" -c "limited -n $BASENAME -- start-stop-daemon $FLAGS --chuid $SU -- $*"
                else
                        initlog $INITLOG_ARGS -n "$BASENAME" -c "limited -n $BASENAME -- start-stop-daemon $FLAGS --startas /bin/su -- \
--                              -s /bin/sh -l '$SU' --c '$WHICH $*'"
+                               -s /bin/sh -l '$SU' --c '$WHICH $*'"
                fi
        fi
        STATUS=$?
Comment 1 Dmitry V. Levin 2018-02-28 15:30:51 MSK
.

*** This bug has been marked as a duplicate of bug 34500 ***