Method: Chef::Provider::User::Linux#lock_user

Defined in:
lib/chef/provider/user/linux.rb

#lock_userObject



69
70
71
# File 'lib/chef/provider/user/linux.rb', line 69

def lock_user
  shell_out!("usermod", "-L", new_resource.username)
end