Browse Source

mtree -l (loose permissions check) on /etc/mtree/special. ok millert@.

OPENBSD_3_0
jakob 23 years ago
parent
commit
79bd272191
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/security

+ 2
- 2
src/etc/security View File

@ -1,6 +1,6 @@
#!/bin/sh - #!/bin/sh -
# #
# $OpenBSD: security,v 1.48 2001/04/06 17:13:37 brad Exp $
# $OpenBSD: security,v 1.49 2001/10/01 16:52:18 jakob Exp $
# from: @(#)security 8.1 (Berkeley) 6/9/93 # from: @(#)security 8.1 (Berkeley) 6/9/93
# #
@ -608,7 +608,7 @@ fi
# the mtree(8) manual page. # the mtree(8) manual page.
if [ -d /etc/mtree ] ; then if [ -d /etc/mtree ] ; then
cd /etc/mtree cd /etc/mtree
mtree -e -p / -f /etc/mtree/special > $OUTPUT
mtree -e -l -p / -f /etc/mtree/special > $OUTPUT
if [ -s $OUTPUT ] ; then if [ -s $OUTPUT ] ; then
echo "\nChecking special files and directories." echo "\nChecking special files and directories."
echo "Output format is:\n\tfilename:" echo "Output format is:\n\tfilename:"


Loading…
Cancel
Save