From 2b96926eef130a4a1fecd6fe476f22e25716bf6e Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 16 Jun 2016 21:31:59 -0400 Subject: respect /usr/bin/nologin as a shell --- scripts/meta-normalize-stdio | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/meta-normalize-stdio b/scripts/meta-normalize-stdio index 5611ae6..c55487f 100755 --- a/scripts/meta-normalize-stdio +++ b/scripts/meta-normalize-stdio @@ -126,6 +126,7 @@ shell = lambda {|name, sh| else @valid_shells ||= open("/etc/shells").read.split("\n") .find_all{|line| /^[^\#]/ =~ line} + .append("/usr/bin/nologin") unless @valid_shells.include?(sh) warning "shell not listed in /etc/shells: #{sh}" end -- cgit v1.2.2