Remove an Existing AC-Hunter Web User

You can remove an existing web users’ account from the command line. SSH into the system running AC-Hunter and run:

sudo /opt/AC-Hunter/scripts/manage_web_user.sh remove -u '[email protected]'

Replace [email protected] with the username to remove. It should be surrounded by single quotes.

Note: The Username (-u) is required to be in the format of an email address

 

Read More

Help! I Forgot My Password!

You can reset your password from the command line. SSH into the system running AC-Hunter and run:

sudo /opt/AC-Hunter/scripts/manage_web_user.sh reset -u '[email protected]' -p 'newpassword'

Replace [email protected] and newpassword with the existing username to reset and the new password you wish to use. Both should be surrounded by single quotes.

Note: The Username (-u) is required to be in the format of an email address

 


Read More

How Do I List All the AC-Hunter Web Server Accounts?

You can view all AC-Hunter Web User accounts from the command line. SSH into the system running AC-Hunter and run:

sudo hunt run --rm db_client mongo_cmd.sh "db.getSiblingDB('users').user.find({},{_id:0,email:1,active:1})" | grep email

This will output a list of all web/UI users.

(Note on the above command: from “sudo” to “grep email” is one line)

 


Read More

Adding a New AC-Hunter Web User

You can add a new user from the command line. SSH into the system running AC-Hunter and run:

sudo /opt/AC-Hunter/scripts/manage_web_user.sh add -u '[email protected]' -p 'newpassword'

Replace [email protected] and newpassword with the new username to add and the new password you wish to use. Both should be surrounded by single quotes.

Note: The Username (-u) is required to be in the format of an email address

 


Read More

Changing an Existing Web User Password

You can change an existing users’ password from the command line. SSH into the system running AC-Hunter and run:

sudo /opt/AC-Hunter/scripts/manage_web_user.sh reset -u '[email protected]' -p 'newpassword'

Replace [email protected] and newpassword with the username to modify and the new password you wish to use. Both should be surrounded by single quotes.

Note: The Username (-u) is required to be in the format of an email address

 


Read More