Package: uucp
Version: 1.07-20
Severity: normal
Tags: patch
User: base-pas...@packages.debian.org
Usertags: shell-fallout

In base-passwd 3.5.30, I changed uucp's shell to /usr/sbin/nologin (a
change that I really should have made about ten years ago).  This has
unfortunately had a bit of collateral damage: uucp's cron.daily job will
fail because it tries to use "su uucp" without overriding the shell.
Here's a fix:

  * Pass "-s /bin/sh" to "su uucp" to cope with the change of uucp's shell
    in base-passwd 3.5.30.

diff -u uucp-1.07/debian/uucp.cron.daily uucp-1.07/debian/uucp.cron.daily
--- uucp-1.07/debian/uucp.cron.daily
+++ uucp-1.07/debian/uucp.cron.daily
@@ -8,3 +8,3 @@
 if [ -x /usr/lib/uucp/uudemon.day ]; then
-       su uucp -c "/usr/lib/uucp/uudemon.day root"
+       su uucp -s /bin/sh -c "/usr/lib/uucp/uudemon.day root"
 fi

Sorry,

-- 
Colin Watson                                       [cjwat...@debian.org]


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to