Browse Source

completely avoid master.passwd in the changelist processing; jbernard@tater.mines.edu

OPENBSD_2_3
deraadt 27 years ago
parent
commit
b7fb34043d
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.23 1997/10/05 11:49:14 deraadt Exp $
# $OpenBSD: security,v 1.24 1997/11/17 08:35:42 deraadt Exp $
# from: @(#)security 8.1 (Berkeley) 6/9/93 # from: @(#)security 8.1 (Berkeley) 6/9/93
# #
@ -572,7 +572,7 @@ fi
# file is expected to have two backups, /var/backups/file.{current,backup}. # file is expected to have two backups, /var/backups/file.{current,backup}.
# Any changes cause the files to rotate. # Any changes cause the files to rotate.
if [ -s /etc/changelist ] ; then if [ -s /etc/changelist ] ; then
for file in `cat /etc/changelist`; do
for file in `egrep -v "^#|$MP" /etc/changelist`; do
CUR=/var/backups/`basename $file`.current CUR=/var/backups/`basename $file`.current
BACK=/var/backups/`basename $file`.backup BACK=/var/backups/`basename $file`.backup
if [ -s $file ] ; then if [ -s $file ] ; then


Loading…
Cancel
Save