01-15-2015
Wrapper functions like SuSEFirewall2
Hey everyone, I have a question. I'm administering a linux machine that runs openSuSE. A few of the functions that I'd normally do manually, have programs that take over the task. For example, I wanted to add a few rules to my iptables. I then found out that there is an openSuse tool (SuSEfirewall2). Another exists for DNS configuration. Is using these tools mandatory?
I tried making the iptables changes the normal way by editing the file, but it didn't seem to work. Once I did the same changes with SuSEFirewall2, it seemed to work. I'm not sure if me using the suse firewall is what helped though.
So my question is, in linux in general, when there is a 'wrapper' tool like these, that edit the files for us, are we obligated to use them or can we by pass the function and do it manually?
Did the act of me using the openSusefirewall2 tool cause it to add something that I couldn't have by manually editing the iptables file?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I installed tcp wrappers version 7.6
and
modify my inetd.conf file from
ftp stream tcp6 nowait root /usr/sbin/in.ftpd in.ftpd
to
ftp stream tcp6 nowait root /usr/local/bin/tcpd /usr/sbin/in.ftpd -l
created /etc/hosts.allow file
and
modify it... (19 Replies)
Discussion started by: hassan2
19 Replies
2. UNIX for Dummies Questions & Answers
hi guys,
I have a requirement to run a script 4 times with different parameter values.
the 4 jobs have to run parallely which actually access different data of same table and deletes.
how can i achieve this.................?
Thanks in advance (1 Reply)
Discussion started by: chiru
1 Replies
3. UNIX for Dummies Questions & Answers
I tried searching the forum ,,but couldn't locate ..Can anyone give me a link or some information about wrapper script. (1 Reply)
Discussion started by: thana
1 Replies
4. UNIX for Dummies Questions & Answers
Hi everyone,
I have this custom sudo package over which I want to write a wrapper using PERL. The wrapper will do some pre-work and then call the regular sudo package from within itself. But I am facing a peculiar problem here.
Once invoked, I am able to do the pre-work from within the... (1 Reply)
Discussion started by: garric
1 Replies
5. Shell Programming and Scripting
Hello,
I have the below wrapper script:
#!/usr/bin/perl -w
if ($^O eq 'MSWin32' ) {
$subnet = 'c:\path\to\subnet.txt';
}
else {
$subnet = '/opt/qip/wrapper-del-sub';
}
open FH1, 'jj-deleted-subnets.txt' or die "Can't open 'jj-deleted-subnets.txt'
... (0 Replies)
Discussion started by: richsark
0 Replies
6. UNIX for Dummies Questions & Answers
My IRC client does not support SSL, so I was wondering if there was any other way to encrypt the information between SSL clients on an IRC network, maybe by using SSH to enter the IRC program or something (it's a command-line program) and passing all the plain-text through SSH first. I tried... (0 Replies)
Discussion started by: guitarscn
0 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I am a dummy and hear to the computation guys telling me,
"Oh! that is easy, you just write a wrapper to do all that bunch of stuff!" :cool:
Could someone tell me what is a wrapper? :rolleyes: The only one I know is Cling-Wrap for sandwiches.
A small elegant example would be very... (1 Reply)
Discussion started by: genehunter
1 Replies
8. Shell Programming and Scripting
Hi friends,
i am working in ksh88. i am running the follwing wapper script in background to run two jobs parallely((eg nohup wrapper.ksh &)::
wrapper.ksh
########################
#!/bin/ksh
nohup ./pii_insert.ksh /nsing83/p2/test &
nohup ./pii_update.ksh... (1 Reply)
Discussion started by: neelmani
1 Replies
9. Shell Programming and Scripting
I have 7 functions those need to be executed as command line inputs, I tried with below code it’s not executing function. If I run the ./script 2 then fun2 should execute , how to initiate that function I tried case and if else also, how to initiate function from command line
if
then... (8 Replies)
Discussion started by: saku
8 Replies
10. Shell Programming and Scripting
This is a wrapper I use to play media files. If I quit I can restart, a big plus.
#!/bin/bash
# Title......: sm
# Description: show media
# Author.....: Mitchell Johnston - uid 0
# Contact....: mxj_97@yahoo.com
#----------------------------------
# variables... (0 Replies)
Discussion started by: dragon-uid0
0 Replies