Browse Source

MFC: Errata 15: Fix (millert):

run uucp as 'uucp' user not root in /etc/daily
pay more attention to commandline parsing of long options in uuqxt
(Patch from jbj@redhat.com)
OPENBSD_2_9
jason 23 years ago
parent
commit
1044454d17
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/daily

+ 2
- 2
src/etc/daily View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: daily,v 1.35 2001/03/06 20:29:48 niklas Exp $
# $OpenBSD: daily,v 1.35.2.1 2001/09/12 14:37:46 jason Exp $
# From: @(#)daily 8.2 (Berkeley) 1/25/94 # From: @(#)daily 8.2 (Berkeley) 1/25/94
# #
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
@ -151,7 +151,7 @@ if ! grep -q "^/var/spool/mqueue is empty$" $TMP; then
fi fi
if [ -d /var/spool/uucp ]; then if [ -d /var/spool/uucp ]; then
uustat -a > $TMP
echo uustat -a | su -m uucp > $TMP
if [ -s $TMP ]; then if [ -s $TMP ]; then
echo "" echo ""
echo "uucp:" echo "uucp:"


Loading…
Cancel
Save