Link to home
Start Free TrialLog in
Avatar of ldorazio
ldorazio

asked on

Bastille scripts locked out local console login, need local console login

Ran Bastille scripts on CentOS computer, selected "allow root yes" but cannot log into console now, as any user including root. When I try to login on the console port, it gives me the "warning prompt", then I type user name & password (not only root, tried others), and it just repeats with the "warning prompt" over and over. I looked at ALL the standard files for allowing console login, so this must be something specific that Bastille did. I also reloaded one computer WITHOUT Bastille (same image) and it works fine, if you run Bastille, it stops working.
Avatar of WizRd-Linux
WizRd-Linux
Flag of Australia image

Have you ran RevertBastille and then redone the configuration using InteractiveBastille and setting the option Should we restrict console access to a small group of user accounts? [N] to no until you can sort out the configuration??  Or alternatively lock it down manually after this?
Hello,

Try login as a normal user and become root user by using "su -". Once your root you can undo the changes bastille changed i.e. edit /etc/securetty or you can use the bastille program to reverse the step.
ASKER CERTIFIED SOLUTION
Avatar of ldorazio
ldorazio

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial