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

Debian script should take expected outcome into account #1

Open
jbjonesjr opened this issue Jan 29, 2017 · 0 comments
Open

Debian script should take expected outcome into account #1

jbjonesjr opened this issue Jan 29, 2017 · 0 comments

Comments

@jbjonesjr
Copy link
Owner

Currently, the script just does the audit activity. ex:
dpkg -s aide

The expected outcome is installed ok installed

I propose that the script should take this outcomes into consideration where possible, and provide the audit result.

Something like:

if [ `dpkg -s aide` = "installed ok installed" ]; then
  echo "Audit passed"
else
  echo "Audit failed"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant