Bug 34593 - service: usage: su [-|-l] [-c "command"] [-s "shell"] [username]
Summary: service: usage: su [-|-l] [-c "command"] [-s "shell"] [username]
Status: CLOSED DUPLICATE of bug 34500
Alias: None
Product: Sisyphus
Classification: Development
Component: service (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Ivan Zakharyaschev
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-28 15:28 MSK by Chess
Modified: 2018-02-28 15:30 MSK (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***