Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

identify enabled/disabled accounts for windows #1039

Merged
merged 1 commit into from
Sep 12, 2016

Conversation

chris-rock
Copy link
Contributor

@chris-rock chris-rock commented Sep 9, 2016

This PR adds a feature to the user and users resource to identifies enabled and disabled accounts. Usage examples are:

describe user('Administrator') do
  it { should be_disabled }
end
describe users.where { uid =~ /S\-1\-5\-21\-\d+\-\d+\-\d+\-500/ } do
  it { should be_disabled }
end

Further PRs will add that feature for other operating systems. That is tracked in #1040

@chris-rock chris-rock merged commit bff5bb2 into master Sep 12, 2016
@chris-rock chris-rock deleted the chris-rock/user_enabled branch September 12, 2016 09:49
@chris-rock chris-rock modified the milestone: 0.34.0 Sep 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Improves an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants