Kategoriarkiv: Knowledge Base

chek cor listening services

Find out whether unneeded services are listening and looking for possible backdoors. One of the first things that should be done after a fresh operating system install is to see what services are running, and remove any unneeded services from … Læs resten

Udgivet i Knowledge Base, Old Base | Skriv en kommentar

Sudo crash course

The sudo utility can help you delegate some system responsibilities to other people, without giving away full root access. It is a setuid root binary that executes commands on an authorized user’s behalf, after she has entered her current password. … Læs resten

Udgivet i Knowledge Base, Old Base | Skriv en kommentar

Append only logfiles freebsd/linux

Use file attributes to prevent intruders from removing traces of their break-in. In the course of an intrusion, an attacker will more than likely leave telltale signs of his actions in various system logs. This is a valuable audit trail … Læs resten

Udgivet i FreeBSD, Knowledge Base, Linux, Old Base | Skriv en kommentar

Access Control Lists , advanced permisions in linux

Most of the time, the traditional Unix file permission system fits the bill just fine. But in a highly collaborative environment with multiple people needing access to files, this scheme can become unwieldy. Access control lists, otherwise known as ACLs … Læs resten

Udgivet i Knowledge Base, Old Base | Skriv en kommentar

Loosy dir permisions and sticky bit

# find / -type d \( -perm -g+w -o -perm -o+w \) -exec ls -lad {} \; Any directories that are listed in the output should have the sticky bit set, which is denoted by a t in the directory’s … Læs resten

Udgivet i Knowledge Base, Linux, Old Base | Skriv en kommentar

Scan for SUID and SGID programs

Unfortunately, a poorly written SUID or SGID binary can be used to quickly and easily escalate a user’s privileges. Also, an attacker who has already gained root access may hide SUID binaries throughout your system in order to leave a … Læs resten

Udgivet i Knowledge Base, Old Base | Skriv en kommentar

Secure mount points

A mount option is a flag that controls how the filesystem may be accessed. It is passed to the operating system kernel’s code when the filesystem is brought online. Mount options can be used to prevent files from being interpreted … Læs resten

Udgivet i Knowledge Base, Linux, Old Base | Skriv en kommentar

Using Vim Editor

Coding in Vim: Vim is a great coder interface, remember cmd’s can be added to ~/.vimrc :syntax on : enable syntax highlighting on many types og source :set autoindent : Autoindent :set cindent : Automatic indent for c source :set … Læs resten

Udgivet i Knowledge Base, Vim | Skriv en kommentar

sparc console cable and other cables

ethernet kabler: http://www.ertyu.org/~steven_nikkel/ethernetcables.html diverse console kabler http://www.pitt.edu/~bdgregg/Cable_Wireing.html sparc console kabel: fra PC til sparc fra lille 9 pins hun til stort 25 pins han fra til 1 8 2 2 3 3 4 20 5 7 6 6 7 4 … Læs resten

Udgivet i Knowledge Base, Old Base, Sparc | Skriv en kommentar

how to make hotplug on slackware not plug in pci

just remove the file /etc/hotplug/pci.rc mv /etc/hotplug/pci.rc /etc/hotplug/pci.rc.old (the script only looks for *.rc) should also work with pcmcia =D

Udgivet i Knowledge Base, Linux, Old Base | Skriv en kommentar