Mark
--
You received this message because you are subscribed to the Google Groups "security-onion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to security-onio...@googlegroups.com.
To post to this group, send email to securit...@googlegroups.com.
Visit this group at http://groups.google.com/group/security-onion.
For more options, visit https://groups.google.com/d/optout.
I know this is an older post, but it helped me and I had some things to add that I changed.
Background: I'm writing a BASH script to add an account in every tool for a new analyst.
My BASH test lines with info hard-coded:
cd /opt/snorby/
sudo RAILS_ENV=production bundle exec rails runner 'User.create(:name => "Test", :email => "te...@test.com", :password => "password", :password_confirmation => "password", :admin => true)'
My BASH script lines with variables:
cd /opt/snorby/
RAILS_ENV=production bundle exec rails runner 'User.create(:name => "'"$userDisplay"'", :email => "'"$userName@$userDomain"'", :password => "'"$userPass"'", :password_confirmation => "'"$userPass"'", :admin => false)'
cd ~