Skip to content

Commit

Permalink
Remove user login permissions to user keepalived
Browse files Browse the repository at this point in the history
  • Loading branch information
rgomezborder committed Nov 28, 2024
1 parent f32e250 commit 54e7acd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/providers/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
end

execute 'create_user' do
command "/usr/sbin/useradd -r #{user}"
command "/usr/sbin/useradd -r #{user} -s /sbin/nologin"
ignore_failure true
not_if "getent passwd #{user}"
end
Expand Down

0 comments on commit 54e7acd

Please sign in to comment.