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

Syscheck_control not failing on invalid arguements #462

Open
goodshowsir opened this issue Dec 16, 2014 · 1 comment
Open

Syscheck_control not failing on invalid arguements #462

goodshowsir opened this issue Dec 16, 2014 · 1 comment

Comments

@goodshowsir
Copy link

I am running 2.8.1 and I was trying to manually run a integrity check on a client, i.e:

agent_control -r -u 001

But through my own stupidity I ran:

syscheck_control -r -u 001

Which in turn cleared the database for that client. Now I know it was my mistake but wouldn't you expect syscheck_control to fail as "-r -u" isn't on the available listed options?

@ddpbsd
Copy link
Member

ddpbsd commented Dec 16, 2014

"-r" appears to be a valid option. How much time should be spent coding the logic to keep users from being able to shoot themselves in the foot?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants