LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-09-2006, 05:30 PM   #1
pxumsgdxpcvjm
Member
 
Registered: Aug 2005
Posts: 235

Rep: Reputation: 30
Bastille - How to test changes?


How do I test changes when using bastille to harden Linux?
I did all the changes as a root. I saved & exit.
I log out, log in as an ordinary user that I created.

Like the part in bastille where it tells you to disable FTP, traceroute and other stuff, I can still run it when I log in as an ordinary user in the terminal. How do I test the changes? Maybe I am doing something wrong.

I am running Bastille using Red Hat 9 with the following command:
bastille -x --os RH9
http://www.sexegratuit1.com
http://www.lunatikas.net
http://ima18.blogcindario.com
http://www.sexoesduro.com

Last edited by pxumsgdxpcvjm; 05-10-2006 at 01:08 AM.
 
Old 03-09-2006, 06:07 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
You may have for example disabled the ftp server, but still have the command itself installed for using ftp to downloading or uploading to another server.

It is best to test things out on another computer using tools such as nmap and nessus. Nmap is a network scanner which scans for open ports. Nessus is a server/client system that uses nmap and performs more analysis such as whether a version of ssh needs to be upgraded.

Here is the sourceforge site for Nessus: http://freshmeat.net/projects/nessus/
Although you may have the package already.

Also, any command like ckconfig that lists which services are running will also help.

Also check your firewall settings, and use the "find" command to locate all "suid" programs.
 
Old 03-10-2006, 06:10 PM   #3
pxumsgdxpcvjm
Member
 
Registered: Aug 2005
Posts: 235

Original Poster
Rep: Reputation: 30
I forgot, I have to answer all the questions before it would actually make any changes. And then restart.

I tested the changes using an ftp command with an ordinary user.

Thanks anyway.
http://www.sexegratuit1.com
http://www.lunatikas.net
http://ima18.blogcindario.com
http://www.sexoesduro.com

Last edited by pxumsgdxpcvjm; 05-10-2006 at 01:09 AM.
 
Old 03-10-2006, 07:18 PM   #4
pxumsgdxpcvjm
Member
 
Registered: Aug 2005
Posts: 235

Original Poster
Rep: Reputation: 30
crontab command - how do I save and exit?

I am doing a linux lab, and the instructions say that once I finished the crontab command to save & exit then press ESC then type wq.

How do I save & exit a crontab in the terminal? I am new to this. oops I guess I should of make a new post. Other thing, how do I re edit this file in case I miss something?
http://www.sexegratuit1.com
http://www.lunatikas.net
http://ima18.blogcindario.com
http://www.sexoesduro.com

Last edited by pxumsgdxpcvjm; 05-10-2006 at 01:07 AM.
 
Old 03-11-2006, 01:25 AM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
The instructions are for the "vim" editor itself. It is modal. Pressing ESC gets you out of the edit mode and into the command mode. To enter a command, you start by pressing the colon key ":" and then the command. "w" is for write and "q" is for quit.
:wq
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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-18-2005 12:08 AM
Bastille Sc0pE Linux - Software 0 05-22-2005 12:27 PM
FC4 Test 1 CD Test failes every DISC Jimbo99 Linux - Software 1 03-18-2005 04:16 PM
Bastille! XLinux Linux - Security 1 02-23-2005 08:15 PM
Bastille? BajaNick Linux - Security 3 08-08-2003 06:05 PM


All times are GMT -5. The time now is 01: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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration