diff options
author | Thom May <thom@chef.io> | 2016-03-02 16:46:43 +0000 |
---|---|---|
committer | Thom May <thom@chef.io> | 2016-03-02 16:46:43 +0000 |
commit | bb07619ac9d484899c91e051be39ab33f5d4b27f (patch) | |
tree | 3f7bbeeaffe0ec7ead2464f25181b16c8079d389 /lib | |
parent | 8b94d2346158f42e37ae0f54f65710e3122e8098 (diff) | |
download | chef-bb07619ac9d484899c91e051be39ab33f5d4b27f.tar.gz |
Revert "Merge pull request #4465 from artursitarski/change-shell-for-locked-user"tm/revert_4465
This reverts commit 94494e761763b877c3ef3b52eee9ac9df2186340, reversing
changes made to a95a87d50c9e5af2fbd583afcf972880656d1a4b.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/provider/user/useradd.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/provider/user/useradd.rb b/lib/chef/provider/user/useradd.rb index 8f41ca3f5d..e2f5b5897a 100644 --- a/lib/chef/provider/user/useradd.rb +++ b/lib/chef/provider/user/useradd.rb @@ -93,11 +93,11 @@ class Chef end def lock_user - shell_out!("usermod", "-L", "-s", "/bin/false", new_resource.username) + shell_out!("usermod", "-L", new_resource.username) end def unlock_user - shell_out!("usermod", "-U", "-s", new_resource.shell, new_resource.username) + shell_out!("usermod", "-U", new_resource.username) end def compile_command(base_command) |