We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 043a131 commit bf4d4e9Copy full SHA for bf4d4e9
cookbooks/boxcutter_site_settings/recipes/users.rb
@@ -17,10 +17,18 @@
17
# limitations under the License.
18
19
%w{
20
- nogroup
21
root
22
sudo
23
users
24
}.each do |grp|
25
FB::Users.initialize_group(node, grp)
26
end
+
27
+# Ubuntu:
28
+# /etc/group
29
+# nobody:x:65534:
30
+# /etc/passwd
31
+# nobody:x:65534:65534:Kernel Overflow User:/:/sbin/nologin
32
+if node.ubuntu?
33
+ FB::Users.initialize_group(node, 'nogroup')
34
+end
0 commit comments