# File lib/chef/provider/user/useradd.rb, line 84 def lock_user run_command(:command => "usermod -L #{@new_resource.username}") end