summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorJeremie Courreges-Anglas <jca@cvs.openbsd.org>2016-12-27 09:17:53 +0000
committerJeremie Courreges-Anglas <jca@cvs.openbsd.org>2016-12-27 09:17:53 +0000
commit2a287177018f82a9e823c5dbe63eef31eaefb00f (patch)
treef5dba9b0a379cfc5c77e5a777e76f4e9a71f014a /libexec
parent00357e1240f2b0e4c9a9041e1bd357c91b9c318b (diff)
Remove user uucp and group news from base.
Diffstat (limited to 'libexec')
-rw-r--r--libexec/security/security5
1 files changed, 2 insertions, 3 deletions
diff --git a/libexec/security/security b/libexec/security/security
index 39f0b6e6c20..2a037d54d98 100644
--- a/libexec/security/security
+++ b/libexec/security/security
@@ -1,6 +1,6 @@
#!/usr/bin/perl -T
-# $OpenBSD: security,v 1.37 2016/10/22 18:35:12 schwarze Exp $
+# $OpenBSD: security,v 1.38 2016/12/27 09:17:52 jca Exp $
#
# Copyright (c) 2011, 2012, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org>
# Copyright (c) 2011 Andrew Fresh <andrew@afresh1.com>
@@ -359,8 +359,7 @@ sub check_rhosts_owner {
my $filename = "$home/.$base";
next unless -s $filename;
nag ! -O $filename &&
- ($name eq 'ftp' || $name eq 'uucp' ||
- ($uid < 100 && $name ne 'root')),
+ ($name eq 'ftp' || ($uid < 100 && $name ne 'root')),
"$filename is not owned by root.";
}
}