projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1f0845
)
Fix path to nologin shell
author
Tom Hughes
<tom@compton.nu>
Thu, 22 Aug 2013 21:34:56 +0000
(22:34 +0100)
committer
Tom Hughes
<tom@compton.nu>
Thu, 22 Aug 2013 21:35:05 +0000
(22:35 +0100)
cookbooks/accounts/recipes/default.rb
patch
|
blob
|
history
diff --git
a/cookbooks/accounts/recipes/default.rb
b/cookbooks/accounts/recipes/default.rb
index
07d94ee
..
fbf8991
100644
(file)
--- 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