LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-26-2015, 04:15 PM   #1
linuxmantra
Member
 
Registered: Dec 2013
Posts: 104

Rep: Reputation: Disabled
RHCSA exam


I am appearing for RHCSA exam next week. I want to ask a simple question. CAN I DELETE FIREWALL RULE in RHCSA exam.

# service iptables stop
# iptables -F
# service iptables save


Any tips/suggestion for RHCSA exam would be really appreciated.


Thanks
 
Old 02-27-2015, 02:40 PM   #2
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 476Reputation: 476Reputation: 476Reputation: 476Reputation: 476
@linuxmantra

It all depends on exam requirement. It is not about if you can do that or not, it is about whether it is required in the exam or not. So my suggestion would be Read the exam objectives / guidelines carefully before jumping in.

All the best for your exam.
 
Old 02-27-2015, 02:54 PM   #3
Habitual
LQ Addict
 
Registered: Jan 2011
Location: Youngstown, Ohio
Distribution: LM17.1/Xfce4.11.8
Posts: 7,387
Blog Entries: 10

Rep: Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042Reputation: 2042
Quote:
Originally Posted by linuxmantra View Post
Code:
# service iptables stop
# iptables -F
# service iptables save
-F is a flush, there's nothing to 'save' after doing so.

Code:
-F, --flush [chain]
              Flush the selected chain (all the chains in the table if none is given).  This is equivalent to delet‐
              ing all the rules one by one.
 
Old 02-27-2015, 02:58 PM   #4
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 476Reputation: 476Reputation: 476Reputation: 476Reputation: 476
@ Reply

Habitual,

I think what he is trying to say is that if there are already some rules in that case whether he can flush the rules and save the blank iptables and continue with the exam.
 
Old 02-27-2015, 03:40 PM   #5
linuxmantra
Member
 
Registered: Dec 2013
Posts: 104

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by T3RM1NVT0R View Post
Habitual,

I think what he is trying to say is that if there are already some rules in that case whether he can flush the rules and save the blank iptables and continue with the exam.
Yes you are right
 
Old 02-28-2015, 05:45 AM   #6
T3RM1NVT0R
Senior Member
 
Registered: Dec 2010
Location: Internet
Distribution: Linux Mint, SLES, CentOS, Red Hat
Posts: 2,385

Rep: Reputation: 476Reputation: 476Reputation: 476Reputation: 476Reputation: 476
As I said it depends on exam requirement. It is not something whether you can or cannot do.
 
  


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
[SOLVED] Rhcsa exam zinny Linux - Certification 2 03-06-2014 09:37 AM
[SOLVED] RHCSA exam eyesore Linux - Certification 6 02-17-2013 10:41 AM
RHCSA EXAm pubudumj Linux - Newbie 7 10-26-2012 02:30 PM
RHCSA Exam parkarnoor Linux - Newbie 7 03-23-2012 12:02 PM
about the new RHCSA exam Ahmed ezz Linux - Certification 20 05-24-2011 04:50 PM


All times are GMT -5. The time now is 06:04 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