Kategoriarkiv: FreeBSD

Restricting system calls with systrace (BSD)

Keep your programs from performing tasks they weren’t meant to do. One of the more exciting new features in NetBSD and OpenBSD is systrace, a system call access manager. With systrace, a system administrator can specify which programs can make … Læs resten

Udgivet i FreeBSD, 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

Generating random high secure passwords in freebsd

On freebsd: jot -r -c 160 a1 { | rs -g 0 10 Output: $ jot -r -c 160 a1 { | rs -g 0 10 7ZSEiPOEeq YO^oJfZ6D[ lgC2Invit? pPKkukm4gV 8\Nbl^inS4 AQIK9]S=[? Apvt5Z[CX^ 1VI3EM]_J3 iGPo\7F@g] hC=dis[D>E =CYIGDHHwp ^<3OhDyHNI _>]VH6t>fE 4AVuNXldsO … Læs resten

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

Easy way to make new passwords

On FreeBSD: jot -r -c 160 a { | rs -g 0 8 It will output something like this: whhmuqxn amajtohu ydtetwjw ysnctfcl svsiypsf cvalnoex dvoburbw fedkcmfx pikwqwiv umaxmqcq iqmtcnny vsunccxj owghvpgo lndrpswr flgtvyjz vphojoqc zofbcxto reaixjhj hmoeabtg fukuimvk //Vladimirr.dk

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

Ipw2100 on FreeBSD

http://damien.bergamini.free.fr/ipw/install.html

Udgivet i FreeBSD, Links | Skriv en kommentar

Ipw2100 on FreeBSD

http://damien.bergamini.free.fr/ipw/install.html

Udgivet i FreeBSD, Knowledge Base | Skriv en kommentar

using ISO-8859-1 in samba

if æøå is making trouble, add this line to smb.conf under [global] client code page = 850 character set = ISO8859-1 valid chars = æ:Æ ø:Ø å:Å

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

Portsupdate on freebsd (ports only)

cd /usr/ports/net/cvsup-without-gui make && make install && make clean Edit the file: /usr/share/examples/cvsup/ports-supfile -all you have to do is to change “CHANGE_THIS” to “cvsup.dk.freebsd.org” Run the update with /usr/local/bin/cvsup -L 2 -g /usr/share/examples/cvsup/ports-supfile

Udgivet i FreeBSD, Knowledge Base | Skriv en kommentar

Webalizer on freebsd

cd /usr/ports/www/webalizer/ make && make install && make clean Edit /usr/share/examples/webalizer/sample.conf to suit your needs. Normally you only need to change a few things like the location of the logfile, and the hostname, but there are serveral ways to personalize … Læs resten

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

Compact Flash med Asus 6in1 paa FreeBSD

client01# mount -t msdos /dev/da0s1 /mnt client01# ls /mnt imhkada9

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