From 7233ba9cbae69bc5e63e172152baf786765646ce Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 22 Aug 2013 22:34:56 +0100 Subject: [PATCH] Fix path to nologin shell --- cookbooks/accounts/recipes/default.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/accounts/recipes/default.rb b/cookbooks/accounts/recipes/default.rb index 07d94ee57..fbf8991f4 100644 --- a/cookbooks/accounts/recipes/default.rb +++ b/cookbooks/accounts/recipes/default.rb @@ -38,7 +38,7 @@ search(:accounts, "*:*").each do |account| case details[:status] when "role" - user_shell = "/sbin/nologin" + user_shell = "/usr/sbin/nologin" when "user", "administrator" user_shell = details[:shell] || account["shell"] || node[:accounts][:shell] end -- 2.39.5