chrootkit & rkhunter

how to install chkrootkit, rkhunter and zenmap in suse 11.2 kde

avenuemax wrote:
> how to install chkrootkit, rkhunter and zenmap in suse 11.2 kde

have you not yet discovered YaST (or Zypper)?

1 while connected to the net, open YaST
2 give root pass
3 go to Software Management [WAIT, it takes a while to initialize]
4 type chrootkit in the search block
5 press “Search” button
6 look in new search results list on right
7 right click a check mark into the box (to install)
8 type rkhunter in search block
9 do 5,6 & 7, skip 8 and
10 type zenmap in search block
11 do 5,6 & 7, skip 8, 9 & 10
12 press “Accept”
13 WAIT until finished [lots going on in there!]

more here: http://en.opensuse.org/Yast


DenverD (Linux Counter 282315)
CAVEAT: http://is.gd/bpoMD
posted via NNTP w/TBird 2.0.0.23 | KDE 3.5.7 | openSUSE 10.3
2.6.22.19-0.4-default SMP i686
AMD Athlon 1 GB RAM | GeForce FX 5500 | ASRock K8Upgrade-760GX |
CMedia 9761 AC’97 Audio

been there done that but it fails to show any packages.

They run from the terminal

Hi,

Got it this time, I tried in morning but I got errors, it worked this time. Thanks.

In my opinion it will be better if I install all lib packages. How do I do that. When I try to install some stuff it says dependencies are unsatisfied, in buntu the deb packager manager used to take care of it. Here I need to manually note down the dependencies and install those first. If that isnt possible, is there any library that suggests the dependencies prior install.

avenuemax wrote:
> Hi,
>
> Got it this time, I tried in morning but I got errors, it worked this
> time. Thanks.
>
>
remember my list of 13 steps?
here is a new addition:

14 find and read the documentation provided. Note: not all
documentation is imported into either KDE or Gnome help…instead it is
usually easily accessed via the ‘man’ and or ‘info’ command in a
terminal, like:


man rkhunter
info rkhunter

if you had rather read in a GUI, just open Konqueror and type into the
nav bar #rkhunter…sorry, i don’t know how to do that for ‘info’…

another good idea is to learn about what you are installing before
doing so, like, reading http://en.wikipedia.org/wiki/Rkhunter might
tip you to the fact that rkhunter is a lean, mean terminal program
without any frills…


DenverD (Linux Counter 282315)
CAVEAT: http://is.gd/bpoMD
posted via NNTP w/TBird 2.0.0.23 | KDE 3.5.7 | openSUSE 10.3
2.6.22.19-0.4-default SMP i686
AMD Athlon 1 GB RAM | GeForce FX 5500 | ASRock K8Upgrade-760GX |
CMedia 9761 AC’97 Audio

Are we talking about openSUSE or Build Service packages? Because you shouldn’t normally have issue with this.
If you are trying to install / compile packages from a remote source, then expect issues.

Ubuntu/openSUSE
Chalk/Cheese

I like to build packages from source.

Thanks for your tips. I know how to use the tools, the trouble is with install. When I find packages and try to install YaST gives errors with regards to its dependencies. I end up spending good time resolving dependencies.

avenuemax wrote:
> When I find packages and try to install YaST gives errors with
> regards to its dependencies. I end up spending good time resolving
> dependencies.

by finding packages using Software Management, YaST will automatically
resolve all dependences, and just install the package you want, hands
off…

or if it can not FIND the dependencies it will list those needed,
which is your hint to learn which community repo they are in, and
enable those repos and then turn YaST loose to do its thing, hands off…

HOWEVER, i see now you wrote “I like to build packages from source.”
so, are you compiling from source to build an rpm package which you
then install with YaST??

i cannot think of a way to make it more difficult! if you compile from
source then don’t build a package, just

make
su
make install

done.


DenverD (Linux Counter 282315)
CAVEAT: http://is.gd/bpoMD
posted via NNTP w/TBird 2.0.0.23 | KDE 3.5.7 | openSUSE 10.3
2.6.22.19-0.4-default SMP i686
AMD Athlon 1 GB RAM | GeForce FX 5500 | ASRock K8Upgrade-760GX |
CMedia 9761 AC’97 Audio

It gives a list of dependencies with options like 1. do not install nmap (e.g) 2. install without satisfying dependencies. If i go with 2 and do zypper dup it shows conflicts. I dont need to tell you what happens if I choose 1. That is why I compiled from source and got the packages that I needed.

I want to harden my desktop (trial) and so far got everything working by compiling source. I need more deb packages, yet to figure out how I use alien efficiently and convert them to rpm. It is showing some legal ****.

When YaST can not solve the dependancies of its own, but needs your help, you have allready a problem. Most certainly you have to many conflicting repos active. Besides of the problems that gives, it certainly is contrary to the security/hardening rules using untrusted software sources.

I have 5 repos, two days back Carl helped me sort out repos. If YaST gives an error over Perl script then I am not sure if I am using open source or what. I have used these software for 6 years on various platforms, never had any issue.

Let us cut to the chase. I need to know what do I do in order to let YaST take care of dependencies without giving me any errors.

Next, how do I update clamav; freshclam doesnt work here.

Maybe see your repo list.

zypper -lr -d

I just checked here and I see chkrootkit and zenmap in the regular repositories and there appears to be no missing dependency looking in the solver window.

for rkhunter I see it here (and several other locations)

Index of /repositories/openSUSE:/11.2:/Contrib/standard

using the Package search (webpin) in Yast

I did not test for dependencies, since I did not want to install it.

But I’m still confused if you are trying to compile or only want to install the binaries???

Hi,

Repo list is healthy, did zypper dup and zypper verify, had no issues. Why is it wrong to have all repos enabled. Managed to install everything I needed. My priorities are source packages and compiling. If i find suitable ones from YaST, I install those or else I compile. I am yet to figure out how to get zim desktop wiki working (python issue) , some dependencies are missing. I’ve switched over from buntu and it took a while for me to get this in order. I wonder if I can install all libs for x64. Snort and nmap work better in suse x64 with mysql, will try postgresql tomorrow. Its all great, managed to mess pulseaudio, amarok but the fix was easy, which is impossible with other Linux distro.

avenuemax, try to provide necessary info about your problems. The list of your used repositories (which gogalthorp asked for) should have been in your first post and you haven’t even shown it yet, also you have mentioned very little about the failed depedencies. With that little information every attempt to help comes close to a quiz show.

Slightly OT:

‘make install’ is a good way to break your system, since then you install packages without giving the package manager a chance to take notice about that. When compiling from source, building a package is pretty much the only appropriate way to install the created binary.

I like breaking things up and recovering it. That is the first thing I do with every new distro that I try. Couple of days back a forum member suggested I should make a reinstall but I managed to sort it out and succeeded. Here is that reference - xine - openSUSE Forums, If you need more I can pull out conflicts list that I stored and resolved earlier.

Anyway as per your suggestion and demand by gogalthorp, below please find terminal out put-

linux-lst5:/home/david # zypper -lr -d
Unknown option ‘l’
Unknown option ‘-d’

Now as per the correction -

linux-lst5:/home/david # zypper lr -d
#  | Alias                                                                           | Name                                                                            | Enabled | Refresh | Priority | Type   | URI                                                                             | Service                                                  
---+---------------------------------------------------------------------------------+---------------------------------------------------------------------------------+---------+---------+----------+--------+---------------------------------------------------------------------------------+--------                                                  
1  | download.nvidia.com-opensuse                                                    | NVIDIA Repository                                                               | Yes     | Yes     |   99     | rpm-md | ftp://download.nvidia.com/opensuse/11.2/                                        |                                                          
2  | download.opensuse.org-non-oss                                                   | Main Repository (NON-OSS)                                                       | Yes     | Yes     |   99     | yast2  | [Index of /distribution/11.2/repo/non-oss](http://download.opensuse.org/distribution/11.2/repo/non-oss/)                    |                                                          
3  | download.opensuse.org-oss_1                                                     | Main Repository (Sources)                                                       | Yes     | Yes     |   99     | yast2  | [Index of /source/distribution/11.2/repo/oss](http://download.opensuse.org/source/distribution/11.2/repo/oss/)                 |                                                          
4  | [Index of /distribution/11.2/repo/oss/suse](http://download.opensuse.org/distribution/11.2/repo/oss/suse)                    | [Index of /distribution/11.2/repo/oss/suse](http://download.opensuse.org/distribution/11.2/repo/oss/suse)                    | Yes     | Yes     |   99     | rpm-md | [Index of /distribution/11.2/repo/oss/suse](http://download.opensuse.org/distribution/11.2/repo/oss/suse)                    |
5  | [Index of /repositories/KDE:/KDE4:/Playground/openSUSE_11.2](http://download.opensuse.org/repositories/KDE:/KDE4:/Playground/openSUSE_11.2)   | [Index of /repositories/KDE:/KDE4:/Playground/openSUSE_11.2](http://download.opensuse.org/repositories/KDE:/KDE4:/Playground/openSUSE_11.2)   | Yes     | Yes     |   99     | rpm-md | [Index of /repositories/KDE:/KDE4:/Playground/openSUSE_11.2](http://download.opensuse.org/repositories/KDE:/KDE4:/Playground/openSUSE_11.2)   |
6  | [Index of /repositories/devel:/languages:/perl/openSUSE_11.2](http://download.opensuse.org/repositories/devel:/languages:/perl/openSUSE_11.2)  | [Index of /repositories/devel:/languages:/perl/openSUSE_11.2](http://download.opensuse.org/repositories/devel:/languages:/perl/openSUSE_11.2)  | Yes     | Yes     |   99     | rpm-md | [Index of /repositories/devel:/languages:/perl/openSUSE_11.2](http://download.opensuse.org/repositories/devel:/languages:/perl/openSUSE_11.2)  |
7  | [Index of /repositories/home:/NoseyNick/openSUSE_11.2](http://download.opensuse.org/repositories/home:/NoseyNick/openSUSE_11.2)         | [Index of /repositories/home:/NoseyNick/openSUSE_11.2](http://download.opensuse.org/repositories/home:/NoseyNick/openSUSE_11.2)         | Yes     | Yes     |   99     | rpm-md | [Index of /repositories/home:/NoseyNick/openSUSE_11.2](http://download.opensuse.org/repositories/home:/NoseyNick/openSUSE_11.2)         |
8  | [Index of /repositories/home:/davjam79:/console/openSUSE_11.2](http://download.opensuse.org/repositories/home:/davjam79:/console/openSUSE_11.2) | [Index of /repositories/home:/davjam79:/console/openSUSE_11.2](http://download.opensuse.org/repositories/home:/davjam79:/console/openSUSE_11.2) | Yes     | Yes     |   99     | rpm-md | [Index of /repositories/home:/davjam79:/console/openSUSE_11.2](http://download.opensuse.org/repositories/home:/davjam79:/console/openSUSE_11.2) |
9  | [Index of /repositories/home:/pikerhog:/utils/openSUSE_11.2](http://download.opensuse.org/repositories/home:/pikerhog:/utils/openSUSE_11.2)   | [Index of /repositories/home:/pikerhog:/utils/openSUSE_11.2](http://download.opensuse.org/repositories/home:/pikerhog:/utils/openSUSE_11.2)   | Yes     | Yes     |   99     | rpm-md | [Index of /repositories/home:/pikerhog:/utils/openSUSE_11.2](http://download.opensuse.org/repositories/home:/pikerhog:/utils/openSUSE_11.2)   |
10 | [Index of /repositories/network:/utilities/openSUSE_11.2](http://download.opensuse.org/repositories/network:/utilities/openSUSE_11.2)      | [Index of /repositories/network:/utilities/openSUSE_11.2](http://download.opensuse.org/repositories/network:/utilities/openSUSE_11.2)      | Yes     | Yes     |   99     | rpm-md | [Index of /repositories/network:/utilities/openSUSE_11.2](http://download.opensuse.org/repositories/network:/utilities/openSUSE_11.2)      |
11 | [Index of /repositories/security/openSUSE_11.2](http://download.opensuse.org/repositories/security/openSUSE_11.2)                | [Index of /repositories/security/openSUSE_11.2](http://download.opensuse.org/repositories/security/openSUSE_11.2)                | Yes     | Yes     |   99     | rpm-md | [Index of /repositories/security/openSUSE_11.2](http://download.opensuse.org/repositories/security/openSUSE_11.2)                |
12 | [Index of /repositories/server:/monitoring/openSUSE_11.2](http://download.opensuse.org/repositories/server:/monitoring/openSUSE_11.2)      | [Index of /repositories/server:/monitoring/openSUSE_11.2](http://download.opensuse.org/repositories/server:/monitoring/openSUSE_11.2)      | Yes     | Yes     |   99     | rpm-md | [Index of /repositories/server:/monitoring/openSUSE_11.2](http://download.opensuse.org/repositories/server:/monitoring/openSUSE_11.2)      |
13 | [Index of /update/11.2](http://download.opensuse.org/update/11.2/)                                       | [Index of /update/11.2](http://download.opensuse.org/update/11.2/)                                       | Yes     | Yes     |   99     | rpm-md | [Index of /update/11.2](http://download.opensuse.org/update/11.2/)                                       |
14 | mozilla                                                                         | mozilla                                                                         | Yes     | Yes     |   99     | rpm-md | [Index of /repositories/mozilla/openSUSE_11.2](http://download.opensuse.org/repositories/mozilla/openSUSE_11.2/)                |
15 | packman.inode.at-suse_1                                                         | Packman Repository                                                              | Yes     | Yes     |   99     | rpm-md | [Index of /suse/11.2/](http://packman.inode.at/suse/11.2/)                                              |
16 | security                                                                        | security                                                                        | Yes     | Yes     |   99     | rpm-md | [Index of /repositories/security/openSUSE_11.2_update](http://download.opensuse.org/repositories/security/openSUSE_11.2_update/)        |
linux-lst5:/home/david #

Ok so you wish to build these from source. Right??

If so you are now the one that must provide the dependencies. If you are putting the compiled binary into an RPM you need to provide the RPM the list of dependencies. There is no magic involved.

Google RPM dependency scripts.

Thanks Carl for the code wrap.

Please avenuemax, when you copy/paste computer text here, so wrap thwm between CODE tags (select the text and use the # button in the toolbar).

You have to many repos enabled. I do not wonder you have dependancy problems.