LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   How could I delete Guarddog? (https://www.linuxquestions.org/questions/linux-security-4/how-could-i-delete-guarddog-296045/)

wardialer 02-28-2005 06:59 PM

How could I delete Guarddog?
 
How can I delete Guarddog form mandrake Linux??? I want to use my iptables instead.
I want to use my iptables that was giving to me which I saved in the /etc/sysconfig/iptables

But I dont want to use Guarddog, I want to use the IPTables which is in the /etc/sysconfig/iptables

Yes, like I said, I have an IPTables script that was saved into the /etc/sysconfig/iptables

I want to use that instead the Guarddog. How can remove Guarddog in Mandrake Linux???

Capt_Caveman 02-28-2005 09:08 PM

How do you install it, from source or from a package (urpmi/rpm)?

wardialer 02-28-2005 09:48 PM

I believe from a package, but not 100 percent sure. I beleive so. But I do want to get rid of it.

wardialer 02-28-2005 10:00 PM

Its in my /usr/bin directory but how do I become ROOT to delete it? Thats the problem.

wardialer 02-28-2005 10:13 PM

Heres what I did.

Code:

rm usr/bin/guarddog
Then it asked me if want to remove it?? And I put 'y'

But, when It still in my K-Start Menu. And whn I click on it, it does not react. But how could I remove it from the K-Start Menu??? And is there a way to make sure if its deleted or not?

It seemed to removed it, I dont know, but I found some guarddog files which I cant even remove as root:

/usr/share/apps/guarddog

Why I cant remove this??? Please explain how?

Capt_Caveman 02-28-2005 10:15 PM

Quote:

Originally posted by wardialer
how do I become ROOT to delete it? Thats the problem.
Code:

[user@host ~]$ su -
Password: <enter root password>
[root@host ~]#


Capt_Caveman 02-28-2005 10:21 PM

Quote:

Originally posted by wardialer
But, when It still in my K-Start Menu. And whn I click on it, it does not react. But how could I remove it from the K-Start Menu??? And is there a way to make sure if its deleted or not?
That's 'cause the K-menu has no way of knowing that the guarddog binary has been removed, it just is executing the command it's told to. To remove it from the KDE menu, right-click on the 'start' button and select 'menu editor', you should get a configuration editor. Navigate to guarddog and right-click on it and select delete.

wardialer 02-28-2005 10:28 PM

I did, but no luck, its still there.

Also, I cant seem to remove the /usr/shared/apps/guarddog even when I do a 'su'

How could I check if guarddog is really removed?

wardialer 02-28-2005 10:31 PM

NEVER MIND!!!! ITS GONE

But is there a way to remove it from the /usr/shared/apps/guarddog???

Its not letting me to do that.

How could I tell if guarddog is really removed completely?

wardialer 02-28-2005 10:48 PM

It says this:

rm: cannot lstat `usr/share/apps/guidedog': No such file or directory

and the same directory that guarddog is in....same message.

Why is there a lagging time in your responses???? I have to do this.

Capt_Caveman 02-28-2005 10:50 PM

Ideally if you've installed from a package, the best way is to remove the package itself. This will remove all the files and links that a package puts throughout the system. Usually this requires a single command, rather than hunting all over the system.

But is there a way to remove it from the /usr/shared/apps/guarddog
It's probably a directory and not a file. Do 'ls -al' in the /usr/share/apps dir. If the permissions are prefaced with a 'd' (and it's blue), then it's a dir. cd into the guarddog dir and remove all the files, then, go back to /usr/share/apps and remove the dir with rmdir. Short cut is: rm -rf /usr/share/apps/guarddog. Though you need to be careful with that command and make sure that you enter it properly otherswise you can hose enire portions of your filesystem.

Capt_Caveman 02-28-2005 10:53 PM

Quote:

Originally posted by wardialer
Why is there a lagging time in your responses???? I have to do this.
Last time I checked you weren't paying me for tech support, so your best bet is to lose the attitude.

wardialer 02-28-2005 11:02 PM

drwxr-xr-x 3 root root 4096 Aug 25 2004 ./ >BLUE
drwxr-xr-x 190 root root 4096 Aug 25 2004 ../ >BLUE
-rw-r--r-- 1 root root 55191 May 25 2002 networkprotocoldb.xml
drwxr-xr-x 2 root root 4096 Aug 25 2004 pics/ >BLUE

The ones marked as BLUE are blue.

So what should I do next? Please explain the commands in Code.

wardialer 02-28-2005 11:08 PM

And sorry about the attitude... Its not you, Im just frusterated in why they cant make this FANTASTIC and STABLE operating system easier...Please,,, I appologize

So, after looking at that output, what do think I should do next? Please explain the commands.

Again, I would appreciate the help.....

Or, better yet, if I could locate the package itself then that would be great but I think its too late now since I deleted the rest from the shell command already.

Capt_Caveman 02-28-2005 11:12 PM

I don't think you're in the right directory.

cd /usr/share/apps (move to proper directory)
ls -al (list directory contents to make sure that guidedog and guarddog dir are there )
rm -rf /usr/share/guarddog (recursively remove directory it's contents)
rm -rf /usr/share/guidedog (same sh*t, different dir)


All times are GMT -5. The time now is 03:06 PM.