LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-13-2011, 10:25 AM   #1
pro_mashu
LQ Newbie
 
Registered: Oct 2010
Posts: 13

Rep: Reputation: 0
Question How to write a shell script to set security policies for Linux???


I don't know how to write a shell script to set security policies for Linux to start. and how. I know that there are many security policies for Linux but do not know which one best suited to write a shell script.
Thanks for your help
 
Old 04-13-2011, 10:27 AM   #2
SL00b
Member
 
Registered: Feb 2011
Location: LA, US
Distribution: SLES
Posts: 375

Rep: Reputation: 112Reputation: 112
You're putting the cart before the horse. First outline what it is you want to do. Then you can analyze it to see if/how scripting will help.
 
Old 04-13-2011, 10:48 AM   #3
pro_mashu
LQ Newbie
 
Registered: Oct 2010
Posts: 13

Original Poster
Rep: Reputation: 0
i think this script will help me establish security policies for linux. I don't know how i do that
 
Old 04-13-2011, 10:53 AM   #4
PrinceCruise
Member
 
Registered: Aug 2009
Location: /Universe/Earth/India/Pune
Distribution: Slackware64 -Current
Posts: 890

Rep: Reputation: 186Reputation: 186
Quote:
Originally Posted by pro_mashu View Post
i think this script will help me establish security policies for linux. I don't know how i do that
Again, you didn't mention what is your agenda on implementing Security Policies?

There can be firewall rules, IPtables and other blah! What do you want to do and with what?
Please be clear so that somebody can come up with a close suggestion.

Regards.
 
Old 04-13-2011, 11:30 AM   #5
pro_mashu
LQ Newbie
 
Registered: Oct 2010
Posts: 13

Original Poster
Rep: Reputation: 0
thanksssss
 
Old 04-13-2011, 11:35 AM   #6
pro_mashu
LQ Newbie
 
Registered: Oct 2010
Posts: 13

Original Poster
Rep: Reputation: 0
i want to write a shell script to set the firewall
 
  


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
how to write a shell script to simulate the built-in linux commands? linuxFreshMan Linux - General 3 11-09-2010 07:22 AM
New to linux and have a question about a shell script I'm attempting to write trace_effect Linux - Newbie 9 12-11-2009 01:23 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:31 AM.

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