From db1e3a861f30574234c50f41772d577e12101c8d Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 13 Jun 2005 09:15:00 +0000 Subject: stop messing with likeauth and nullok options and keep them on the pam_unix line (bugzilla #12066) --- perl-install/authentication.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/perl-install/authentication.pm b/perl-install/authentication.pm index ce9ac04d6..4420911d9 100644 --- a/perl-install/authentication.pm +++ b/perl-install/authentication.pm @@ -420,8 +420,7 @@ sub set_pam_authentication { } if ($module eq 'pam_unix' && $special{$type}) { my @para_for_last = - $type eq 'auth' ? qw(likeauth nullok use_first_pass) : - $type eq 'account' ? qw(use_first_pass) : @{[]}; + member($type, 'auth', 'account') ? qw(use_first_pass) : @{[]}; @para = difference2(\@para, \@para_for_last); my ($before_noask, $ask) = partition { $_ eq 'castella' } @{$special{$type}}; -- cgit v1.2.1