diff options
author | 2014-03-23 22:08:15 +0000 | |
---|---|---|
committer | 2014-03-23 22:08:15 +0000 | |
commit | aeb12e48bc62aace7f9942fb8aa759cd451e3ace (patch) | |
tree | 270e79abcb2cb2dc42526800dc27c07f2bb9f9dd | |
parent | Skip leading escape sequences in man_deroff(). Helps indexing of (diff) | |
download | wireguard-openbsd-aeb12e48bc62aace7f9942fb8aa759cd451e3ace.tar.xz wireguard-openbsd-aeb12e48bc62aace7f9942fb8aa759cd451e3ace.zip |
don't check ftpusers in security(8), from gsoares@, ok afresh1@ schwarze@
-rw-r--r-- | libexec/security/security | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/libexec/security/security b/libexec/security/security index 4515d837484..ac0cb4f9aec 100644 --- a/libexec/security/security +++ b/libexec/security/security @@ -1,6 +1,6 @@ #!/usr/bin/perl -T -# $OpenBSD: security,v 1.23 2013/03/21 09:37:37 sthen Exp $ +# $OpenBSD: security,v 1.24 2014/03/23 22:08:15 sthen Exp $ # # Copyright (c) 2011, 2012 Ingo Schwarze <schwarze@openbsd.org> # Copyright (c) 2011 Andrew Fresh <andrew@afresh1.com> @@ -287,20 +287,6 @@ sub check_ksh { } } -# Root and uucp should both be in /etc/ftpusers. -sub check_ftpusers { - my $filename = '/etc/ftpusers'; - nag !(open my $fh, '<', $filename), "open: $filename: $!" and return; - my %banned = qw(root 1 uucp 1); - while (<$fh>) { - chomp; - delete $banned{$_}; - } - nag 1, "\u$_ not listed in $filename file." - foreach sort keys %banned; - close $fh; -} - # Uudecode should not be in the /etc/mail/aliases file. sub check_mail_aliases { my $filename = '/etc/mail/aliases'; @@ -899,7 +885,6 @@ check_ksh(check_sh); open STDERR, '>&', $olderr; $check_title = "Checking configuration files:"; -check_ftpusers; check_mail_aliases; check_hostname_if; check_hosts_equiv; |