LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 01-29-2003, 09:52 AM   #1
Greenman
Member
 
Registered: Jan 2003
Posts: 34

Rep: Reputation: 15
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

Last edited by Greenman; 01-29-2003 at 12:29 PM.
 
Old 01-29-2003, 10:49 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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.
 
Old 01-29-2003, 12:24 PM   #3
Greenman
Member
 
Registered: Jan 2003
Posts: 34

Original Poster
Rep: Reputation: 15
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Bastille nemopaice Ubuntu 4 11-17-2005 11:08 PM
Bastille Sc0pE Linux - Software 0 05-22-2005 11:27 AM
Bastille! XLinux Linux - Security 1 02-23-2005 07:15 PM
Bastille Obie Mandriva 3 08-23-2004 06:43 AM
Bastille? BajaNick Linux - Security 3 08-08-2003 05:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 09:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration