    # File lib/chef/provider/user/dscl.rb, line 185
            def dscl_set_shell
              if @new_resource.password || ::File.exists?("#{@new_resource.shell}")
                safe_dscl("create /Users/#{@new_resource.username} UserShell '#{@new_resource.shell}'")
              else
                safe_dscl("create /Users/#{@new_resource.username} UserShell '/usr/bin/false'")
              end
            end