diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/provider/user/aix.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/chef/provider/user/aix.rb b/lib/chef/provider/user/aix.rb index feaa8f8e01..46917ab0de 100644 --- a/lib/chef/provider/user/aix.rb +++ b/lib/chef/provider/user/aix.rb @@ -31,6 +31,13 @@ class Chef super end + # Aix does not support -r like other unix, sytem account is created by adding to 'system' group + def useradd_options + opts = [] + opts << "-g" << "system" if new_resource.system + opts + end + private def add_password if @current_resource.password != @new_resource.password && @new_resource.password |