LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   Storming the Bastille!!! (https://www.linuxquestions.org/questions/linux-security-4/storming-the-bastille-43216/)

Greenman 01-29-2003 09:52 AM

Storming the Bastille!!!
 
It's one of those days
I have managed to log myself out of X windows.
On my Redhat 8 box after I have installed Bastille.

I can log into the box as root via SSH
but not at the local console. I can also log at the console as another users but not as root

Please help

G

trickykid 01-29-2003 10:49 AM

Well the whole purpose to my understanding bastille is to secure your machine. I'm not totally familiar with it but I'd check your /etc/securetty file to see if it modified it to keep root from local login from a console.

Though its a good idea to never login as root, but su or setup sudo if you want to keep your machine secure. Also I would advise to disable root login from remotely using ssh, it might be secure and encrypted but there are always vulnerabilities. You should make a habit of logging in remotely as a regular user, then su to root when needed.

Greenman 01-29-2003 12:24 PM

Thanks for our advice

It turned out to be (my stupidity)
When you run Bastille it creates a log file under
/var/log/Bastille/action-log
With all the amendments it makes to your system, there
is a section that
Appended a file /etc/bastille-no-login with root

I edited bastille-no-login and took out root and low and behold I can Now login again as root at the console.

my faith is restored
Bastille, nice util !!!

:)

G


All times are GMT -5. The time now is 10:41 PM.