Månedsarkiv: juli 2004

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

bt keder sig meget

eject /mnt/cdrom/ && sleep 5 && mount /mnt/cdrom/ && installpkg /mnt/cdrom/slackware/n/tcpdump-3.8.3-i486-2.tgz && eject /mnt/cdrom

Udgivet i Humor, Knowledge Base, Old Base, Shellscript | Skriv en kommentar

Set up IPSEC in openbsd

Use IPsec the OpenBSD way. Setting up IPsec in OpenBSD is fairly easy since it’s compiled into the kernel that ships with each release and is enabled by default. All that is left to do is to create the appropriate … Læs resten

Udgivet i Knowledge Base, Networking, Old Base, OpenBSD | Skriv en kommentar