Skip to content

Commit

Permalink
Merge pull request #21 from redBorder/bugfix/#13550_restrain_user_per…
Browse files Browse the repository at this point in the history
…missions

Bugfix/#13550 restrain user permissions
  • Loading branch information
manegron authored Sep 20, 2024
2 parents 4177b91 + 98474ee commit 2c472e6
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 @@ -26,7 +26,7 @@
end

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

0 comments on commit 2c472e6

Please sign in to comment.