Archive for June, 2008

BackTrack 3 Final has been Released

Posted: June 22, 2008 in Linux

BackTrack 3 final download page is here:
http://remote-exploit.org/backtrack_download.html

Advertisements

cannot move old log file

Posted: June 19, 2008 in Linux
Tags:

It seems that chmod +s can make a difference on non root user login in BT3

rumy~$ startx
xauth: creating new authority file /home/rumy/.serverauth.2965

Fatal server error:
Cannot move old log file (“var/log/Xorg.0.log” to “/var/log.Xorg.0.log.old”

This will fix the error above ;)

$ su

# chmod +s /usr/bin/X11/Xorg

Happened when you upgrade bt3 to Slackware 12.1 ^_^

Workaround :

k-elektronik ~ # whereis fortune
fortune: /usr/games/fortune /usr/man/man6/fortune.6.gz /usr/share/man/man6/fortune.6.gz /usr/X11/man/man6/fortune.6.gz

k-elektronik ~ # ln -s /usr/games/fortune /usr/local/bin/fortune


Feeling brave?

Try this :

1. Install BT3 to your harddrive, tweak it a bit as you please

2. Upgrade it to Slackware 12.1

a. Go to single user mode

# telinit 1
b. Put your Slackware DVD to DVDROM and mount it

# mount /dev/cdrom /mnt/cdrom

c. Upgrade glibc shared libraries

# upgradepkg /mnt/cdrom/slackware/a/glibc-solibs-*.tgz

d. Upgrade packages utilities

# upgradepkg /mnt/slackware/a/pkgtools-*.tgz

e. Upgrade everything and install (new) packages that doesn’t exist

# upgradepkg –install-new /mnt/cdrom/slackware/*/*.tgz

f. Edit your /etc new config (*.new) either by hand or just fire up the script below (courtesy of slackware.com)

#!/bin/sh
cd /etc
find . -name “*.new” | while read configfile ; do
if [ ! “$configfile” = “./rc.d/rc.inet1.conf.new” \
-a ! “$configfile” = “./group.new” \
-a ! “$configfile” = “./passwd.new” \
-a ! “$configfile” = “./shadow.new” ]; then
cp -a $(echo $configfile | rev | cut -f 2- -d . | rev) \
$(echo $configfile | rev | cut -f 2- -d . | rev).bak 2> /dev/null
mv $configfile $(echo $configfile | rev | cut -f 2- -d . | rev)
fi
done

g. Back to multi user mode

# telinit 3