diff options
Diffstat (limited to 'source/a/shadow/patches/r3194.diff')
-rw-r--r-- | source/a/shadow/patches/r3194.diff | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/source/a/shadow/patches/r3194.diff b/source/a/shadow/patches/r3194.diff new file mode 100644 index 00000000..0eff631b --- /dev/null +++ b/source/a/shadow/patches/r3194.diff @@ -0,0 +1,15 @@ +* src/su.c: shell's name must be -su when a su fakes a login. + +=================================================================== +--- src/su.c (revision 3193) ++++ src/su.c (revision 3194) +@@ -1021,7 +1021,7 @@ + * Use the shell and create an argv + * with the rest of the command line included. + */ +- argv[-1] = shellstr; ++ argv[-1] = cp; + #ifndef USE_PAM + execve_shell (shellstr, &argv[-1], environ); + err = errno; + |