Ubuntu und ein ISO einer CD erstellen
sudo umount /dev/cdrom
dd if=/dev/cdrom of=/Pfad/Zum/cd.iso bs=1024
sudo umount /dev/cdrom
dd if=/dev/cdrom of=/Pfad/Zum/cd.iso bs=1024
Fatalerweise hat das proftpd Paket einen User ftp mit dem Kennwort ! in der Standardkonfiguration, somit kann JEDER im Homeverzeichnis des ftp-Users z.B. ein Verzeichnis public_html anlegen und dort lustige php Skripte hochladen. Diese sind dann unter http://ServerIP/~ftp/script.php erreichbar. Deswegen in die /etc/proftpd.conf folgendes eintragen: AuthOrder mod_sql.c und auf der shell dies ausführen: “apache-modconf apache disable mod_userdir”.
Möchte man die Volatile Spiegel mit apt benutzen benötigt man den jeweiligen Key:
wget http://www.debian.org/volatile/etch-volatile.asc
apt-key add etch-volatile.asc
sollte es auf einer Debian Sarge zu FTP Timouts kommen kann folgendes in der /etc/proftpd.conf helfen:
DelayEngine off
Ein MX-Eintrag für eine Subdomain schaut im Zonefile so aus:
subdomain IN A aaa.bbb.ccc.ddd
subdomain IN MX 10 aaa.bbb.ccc.ddd
Sollte man auf dem System keine nologin-Shell, z.B. für einen ftp-only User haben kann man das folgendermassen bewerkstelligen:
# cat <noshell.c && CFLAGS=-O3 LDFLAGS=-s make noshell
#include
main() {
puts (”Dieses Konto ist nicht verfügbar”);
sleep (3);
exit (0);
}
!
# cp noshell /bin/
# chmod +x /bin/nologin
# echo /bin/noshell >> /etc/shells
in der /etc/passwd nun den user auf die /bin/noshell setzen.