# File lib/chef/provider/user/dscl.rb, line 107 def shadow_hash_set? user_data = safe_dscl("read /Users/#{@new_resource.username}") if user_data =~ /AuthenticationAuthority: / && user_data =~ /ShadowHash/ true else false end end