LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Bastille - How to test changes? (https://www.linuxquestions.org/questions/linux-newbie-8/bastille-how-to-test-changes-423283/)

pxumsgdxpcvjm 03-09-2006 04:30 PM

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

jschiwal 03-09-2006 05:07 PM

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.

pxumsgdxpcvjm 03-10-2006 05:10 PM

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

pxumsgdxpcvjm 03-10-2006 06:18 PM

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

jschiwal 03-11-2006 12:25 AM

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


All times are GMT -5. The time now is 10:40 AM.