Ask Your Question

Locked out admin account

asked 2014-06-05 07:45:31 -0500

RobN gravatar image

Please help... I have tried to set the puppet consol to use A/D and after restarting pe-httpd. Now, I cannot access by either local or AD and I have one last attempt before my primary admin account is locked out! I undid all of the changes to rubycas-server/config.yml and console-auth/casclientconfig.yml and restarted pe-httpd again and it still will not take my password.

I then went and tried to do command line modification through

puppet1:/opt/puppet/share/puppet-dashboard# /opt/puppet/bin/bundle exec rake -f /opt/puppet/share/console-auth/Rakefile db:users:list
/opt/puppet/lib/ruby/site_ruby/1.9.1/bundler/shared_helpers.rb:2:in \`require': no such file to load -- rubygems (LoadError)
    from /opt/puppet/lib/ruby/site_ruby/1.9.1/bundler/shared_helpers.rb:2
    from /opt/puppet/lib/ruby/site_ruby/1.9.1/bundler/setup.rb:1:in `require'
    from /opt/puppet/lib/ruby/site_ruby/1.9.1/bundler/setup.rb:1
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-06-05 08:03:51 -0500

RobN gravatar image

OK After running this command which worked:

puppet1:/opt/puppet/share/puppet-dashboard# /opt/puppet/bin/bundle exec /opt/puppet/bin/rake -s -f /opt/puppet/share/console-auth/Rakefile db:create_user PASSWORD="123qwe" ROLE="Admin" RAILS_ENV=production

I was able to get in, thank goodness. I am still concerned about the previous rubygems errors about 'require' stating no such file, but I will close this issue as I am back in.

edit flag offensive delete link more


I am not finding /opt/puppet/bin/bundle in my installation - :(

Sunish gravatar imageSunish ( 2015-01-29 15:32:12 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-06-05 07:45:31 -0500

Seen: 369 times

Last updated: Jun 05 '14