Utskrift av port, pid og daemon navn v.h.a netstat
netstat -nap| egrep “(0.0.0.0).*(0.0.0.0).*LISTEN” | gawk ‘{print $4 “:” $7}’ | egrep -o “:(.*)” | cut -c 2-|sed ‘s/\//\:/’
A chronological documentation test project, nothing serious, really!
netstat -nap| egrep “(0.0.0.0).*(0.0.0.0).*LISTEN” | gawk ‘{print $4 “:” $7}’ | egrep -o “:(.*)” | cut -c 2-|sed ‘s/\//\:/’
chkrootkit -x lkm gives more info about the rootkit lmk chkrootkit creates a separate binary called chkproc that allows you to search for hidden processes.
It was kinda late, and I wanted to do something tonight…something interesting. I was looking at my usb key when I had this flash…”Could I use my usb key to login to my pc with a certain account ?”. Googling … googling… I need a PAM module to do it. eix time now! #eix pam […]
You can specify the SELinux mode using the configuration file /etc/sysconfig/selinux. # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing – SELinux security policy is enforced. # permissive – SELinux prints warnings instead of enforcing. # disabled – No SELinux policy is […]
The sudo command allows users to do tasks on a Red Hat Enterprise Linux system as another user. sudo is different from the su command and is more flexible and more secure. One significant advantage is that it can log usage. By default the program saves log data in the file /var/log/secure. The sudo program […]