LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices



Reply
 
Search this Thread
Old 02-28-2005, 07:59 PM   #1
wardialer
Member
 
Registered: Sep 2004
Distribution: SUSE Linux Pro 9.3
Posts: 375

Rep: Reputation: 30
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???

Last edited by wardialer; 02-28-2005 at 08:13 PM.
 
Old 02-28-2005, 10:08 PM   #2
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 57
How do you install it, from source or from a package (urpmi/rpm)?
 
Old 02-28-2005, 10:48 PM   #3
wardialer
Member
 
Registered: Sep 2004
Distribution: SUSE Linux Pro 9.3
Posts: 375

Original Poster
Rep: Reputation: 30
I believe from a package, but not 100 percent sure. I beleive so. But I do want to get rid of it.
 
Old 02-28-2005, 11:00 PM   #4
wardialer
Member
 
Registered: Sep 2004
Distribution: SUSE Linux Pro 9.3
Posts: 375

Original Poster
Rep: Reputation: 30
Its in my /usr/bin directory but how do I become ROOT to delete it? Thats the problem.
 
Old 02-28-2005, 11:13 PM   #5
wardialer
Member
 
Registered: Sep 2004
Distribution: SUSE Linux Pro 9.3
Posts: 375

Original Poster
Rep: Reputation: 30
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?

Last edited by wardialer; 02-28-2005 at 11:22 PM.
 
Old 02-28-2005, 11:15 PM   #6
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 57
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 ~]#
 
Old 02-28-2005, 11:21 PM   #7
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 57
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.
 
Old 02-28-2005, 11:28 PM   #8
wardialer
Member
 
Registered: Sep 2004
Distribution: SUSE Linux Pro 9.3
Posts: 375

Original Poster
Rep: Reputation: 30
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?
 
Old 02-28-2005, 11:31 PM   #9
wardialer
Member
 
Registered: Sep 2004
Distribution: SUSE Linux Pro 9.3
Posts: 375

Original Poster
Rep: Reputation: 30
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?
 
Old 02-28-2005, 11:48 PM   #10
wardialer
Member
 
Registered: Sep 2004
Distribution: SUSE Linux Pro 9.3
Posts: 375

Original Poster
Rep: Reputation: 30
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.
 
Old 02-28-2005, 11:50 PM   #11
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 57
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.
 
Old 02-28-2005, 11:53 PM   #12
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 57
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.
 
Old 03-01-2005, 12:02 AM   #13
wardialer
Member
 
Registered: Sep 2004
Distribution: SUSE Linux Pro 9.3
Posts: 375

Original Poster
Rep: Reputation: 30
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.

Last edited by wardialer; 03-01-2005 at 12:04 AM.
 
Old 03-01-2005, 12:08 AM   #14
wardialer
Member
 
Registered: Sep 2004
Distribution: SUSE Linux Pro 9.3
Posts: 375

Original Poster
Rep: Reputation: 30
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.

Last edited by wardialer; 03-01-2005 at 12:12 AM.
 
Old 03-01-2005, 12:12 AM   #15
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 57
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)
 
  


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
Guarddog N|k0N Slackware 5 09-15-2004 06:51 PM
Tried to delete file as root but it says I don't have permission to delete it! beejayzed Mandriva 23 03-12-2004 03:46 AM
Guarddog and 2.6.0 powadha Slackware 2 01-09-2004 01:10 PM
guarddog and 2.6.0 ? shanenin Linux - Security 2 01-01-2004 01:30 PM
guarddog shadow Linux - General 1 07-08-2003 05:35 PM


All times are GMT -5. The time now is 11:37 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration