summaryrefslogtreecommitdiff
path: root/etc/security
diff options
context:
space:
mode:
authorDavid Krause <david@cvs.openbsd.org>2005-02-07 06:08:11 +0000
committerDavid Krause <david@cvs.openbsd.org>2005-02-07 06:08:11 +0000
commit882563776f110738436f3826fa350ca347cac963 (patch)
tree8d45f8a3dfb10c09705e5d3c7870052abe26118a /etc/security
parent27cf0c6ec0604104b9029db19030664cd1a5049d (diff)
indentation whitespace nits
Diffstat (limited to 'etc/security')
-rw-r--r--etc/security18
1 files changed, 9 insertions, 9 deletions
diff --git a/etc/security b/etc/security
index 01fe533ca06..3e52f8984fb 100644
--- a/etc/security
+++ b/etc/security
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: security,v 1.69 2005/01/06 00:00:38 jmc Exp $
+# $OpenBSD: security,v 1.70 2005/02/07 06:08:10 david Exp $
# from: @(#)security 8.1 (Berkeley) 6/9/93
#
@@ -38,7 +38,7 @@ awk -F: '{
if ($2 == "")
printf("Login %s has no password.\n", $1);
if ($2 != "" && length($2) != 13 && ($10 ~ /.*sh$/ || $10 == "") &&
- ($2 !~ /^\$[0-9a-f]+\$/) && ($2 != "skey")) {
+ ($2 !~ /^\$[0-9a-f]+\$/) && ($2 != "skey")) {
if (system("test -s /etc/skey/"$1"") == 0)
printf("Login %s is off but still has a valid shell and an entry in /etc/skey.\n", $1);
if (system("test -d "$9" -a ! -r "$9"") == 0)
@@ -70,9 +70,9 @@ awk -F: '/^[^\+]/ { print $1 " " $3 }' $MP | sort -n +1 | tee $TMP1 |
uniq -d -f 1 | awk '{ print $2 }' > $TMP2
if [ -s $TMP2 ] ; then
echo "\n${MP} has duplicate user ID's."
- while read uid; do
- grep -w $uid $TMP1
- done < $TMP2 | column
+ while read uid; do
+ grep -w $uid $TMP1
+ done < $TMP2 | column
fi
# Backup the master password file; a special case, the normal backup
@@ -165,9 +165,9 @@ end-of-csh
}
}
$1 ~ /^d....w/ \
- { print "Root path directory " $10 " is group writable." } \
+ { print "Root path directory " $10 " is group writable." } \
$1 ~ /^d.......w/ \
- { print "Root path directory " $10 " is other writable." }' \
+ { print "Root path directory " $10 " is other writable." }' \
< $TMP1 >> $OUTPUT
fi
done
@@ -218,9 +218,9 @@ end-of-sh
}
}
$1 ~ /^d....w/ \
- { print "Root path directory " $10 " is group writable." } \
+ { print "Root path directory " $10 " is group writable." } \
$1 ~ /^d.......w/ \
- { print "Root path directory " $10 " is other writable." }' \
+ { print "Root path directory " $10 " is other writable." }' \
< $TMP1 >> $OUTPUT
fi