Skip to content

Commit

Permalink
Move gids around so to accomodate default ubuntu user in ubuntu 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorific committed Jun 15, 2024
1 parent 6d92626 commit dfd63c1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions cookbooks/boxcutter_users/libraries/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Users
'uid' => 994,
},
'boxcutter' => {
'uid' => 1000,
'uid' => 2001,
},
}.freeze

Expand All @@ -29,7 +29,7 @@ class Users
'gid' => 994,
},
'boxcutter' => {
'gid' => 1000,
'gid' => 2001,
},
}.freeze
end
Expand Down
6 changes: 3 additions & 3 deletions cookbooks/boxcutter_users/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
# limitations under the License.

caretakers = {
'sheila' => '1001',
'taylor' => '1002',
'sheila' => '2002',
'taylor' => '2003',
}

caretakers.each do |user, uid|
Expand All @@ -34,7 +34,7 @@
group 'sudo' do
members caretakers.keys
system true
gid 1000
gid 2001
end

node.default['fb_sudo']['users']['%sudo']['dont prompt for password'] = 'ALL=NOPASSWD: ALL'
Expand Down

0 comments on commit dfd63c1

Please sign in to comment.