diff --git a/CHANGELOG.md b/CHANGELOG.md index 39c867f..d1c8af7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,14 @@ cookbook-pmacct CHANGELOG =============== +## 0.2.0 + + - Miguel Negrón + - [1e8f3fa] Merge pull request #10 from redBorder/bugfix/#13550_restrain_user_permissions + - Luis Blanco + - [45ebad0] Merge branch 'master' into bugfix/#13550_restrain_user_permissions + - [ca6db74] add user pmacct with nologin + ## 0.1.0 - David Vanhoucke diff --git a/resources/metadata.rb b/resources/metadata.rb index 7c562ec..1544b8a 100644 --- a/resources/metadata.rb +++ b/resources/metadata.rb @@ -3,4 +3,4 @@ maintainer_email 'git@redborder.com' license 'AGPL-3.0' description 'Installs/Configures cookbook-pmacct' -version '0.1.0' +version '0.2.0' diff --git a/resources/providers/config.rb b/resources/providers/config.rb index 906cad3..9da3003 100644 --- a/resources/providers/config.rb +++ b/resources/providers/config.rb @@ -17,7 +17,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