Dariush Debian Diary
Diariusz Dariusza
, 30, 2003
Exim4 tls
sid:/etc/exim4# /usr/share/doc/exim4-base/examples/exim-gencert
[*] Creating a self signed SSL certificate for Exim!
This may be sufficient to establish encrypted connections but for
secure identification you need to buy a real certificate!
Please enter the hostname of your MTA at the Common Name (CN) prompt!
Generating a 1024 bit RSA private key
...................................................................++++++
.......++++++
unable to write 'random state'
writing new private key to '/etc/exim4/exim.key'
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Code (2 letters) [US]:PL
State or Province Name (full name) [Some-State]:Lubelskie
Locality Name (eg, city) []:Lublin
Organization Name (eg, company; recommended) []:G
Organizational Unit Name (eg, section) []:unSecurity
Server name (eg. ssl.domain.tld; required!!!) []:grendel.ar.lublin.pl
Email Address []:eyck at grendel.ar.lublin.pl
[*] Done generating self signed certificates for exim!
Refer to the documentation and example configuration files
over at /usr/share/doc/exim4-base/ for an idea on how to enable TLS
support in your mail transfer agent.
Last modified on
Creating Mailing List with Ecartis
sid:/etc/exim4# /usr/lib/ecartis/ecartis -newlist llug Creating new list 'llug'... List admin e-mail: eyck@grendel.ar.lublin.pl Writing config file...done. Creating default user file...done. Sending aliases for sendmail/Exim/Postfix/Zmailer to stdout. # Aliases for 'llug' mailing list. llug: "|/usr/lib/ecartis/ecartis -s llug" llug-request: "|/usr/lib/ecartis/ecartis -r llug" llug-repost: "|/usr/lib/ecartis/ecartis -a llug" llug-admins: "|/usr/lib/ecartis/ecartis -admins llug" llug-moderators: "|/usr/lib/ecartis/ecartis -moderators llug" llug-bounce: "|/usr/lib/ecartis/ecartis -bounce llug"
sid:/etc/exim4# cat >> /etc/aliases # Aliases for 'llug' mailing list. llug: "|/usr/lib/ecartis/ecartis -s llug" llug-request: "|/usr/lib/ecartis/ecartis -r llug" llug-repost: "|/usr/lib/ecartis/ecartis -a llug" llug-admins: "|/usr/lib/ecartis/ecartis -admins llug" llug-moderators: "|/usr/lib/ecartis/ecartis -moderators llug" llug-bounce: "|/usr/lib/ecartis/ecartis -bounce llug"
sid:/etc/exim4# sync
sid:/etc/exim4# cd /var/lib/ecarts/lists/llug && perl -p -i.b -e 's/\@sid/\@host.name.tld/' config
Last modified on
, 26, 2003
Moving undo/temporary tablespace to another location
CREATE UNDO TABLESPACE undotbs02 DATAFILE '/opt/oracle/oradata1/sbrd/undotbs02.dbf' SIZE 3000M REUSE AUTOEXTEND ON; ALTER SYSTEM SET UNDO_TABLESPACE = undotbs02; DROP TABLESPACE undotbs01;
Last modified on
, 24, 2003
Running proftpd with tlsUnder woody:
$ openssl req -new -x509 -days 365 -nodes -out ftpd-rsa.pem -keyout ftpd-rsa-key.pemWith sid/sarge you also need those in proftpd.conf:
#TLSCACertificateFile /etc/proftpd/ftpd-rsa.pem TLSRSACertificateFile /etc/proftpd/ftpd-rsa.pem TLSRSACertificateKeyFile /etc/proftpd/ftpd-rsa-key.pem TLSLog /var/log/proftpd/tls.log TLSRequired on TLSEngine on
Last modified on
Making linux reboot on panic
Suppose you're running some unsafe kernel in remote location, you wouldn't like your machine to freeze waiting for you to power it down in case of panic. So what do you do?
echo "69" > /proc/sys/kernel/panicthis will make it wait 69 seconds and then reboot in case of panic ( unless of course, like with my problem with audio half of panics loop infinitely )
Last modified on
EUNET/EFNET Services are still alive...
/servlist
07:23 [+] NoteServ@fu-berlin.de *.DE * 0xE4 9 : NoteService 0.8-4th.sunscreen
07:23 [+] statclub@ircnet.club-internet.fr *.club-internet.fr * 0x3F007FFF 5 : Statistics Service
07:23 [+] Alis@huba.irc.pl huba.irc.pl * 0xD000 3 : Advanced List Service
07:23 [+] * 0 : End of service listing
07:23 (@Rork): /servlist /squery
/squery NoteServ HELP
07:24 - NoteServ@fu-berlin.de! - This is NoteServ version 0.8-4th.sunscreen
07:24 - NoteServ@fu-berlin.de - Generic commands:
07:24 - NoteServ@fu-berlin.de - HELP ADMIN INFO VERSION
07:24 - NoteServ@fu-berlin.de - Service commands:
07:24 - NoteServ@fu-berlin.de - LS NOTIFY RM LOGIN PASSWD
07:24 - NoteServ@fu-berlin.de - STATUS SEND FIND LANG
07:24 - NoteServ@fu-berlin.de - Topics:
07:24 - NoteServ@fu-berlin.de - authentication
07:24 - NoteServ@fu-berlin.de - privacy
07:24 - NoteServ@fu-berlin.de - For more info use "HELP
07:24 (@Rork): /squery NoteServ help send
07:24 - NoteServ@fu-berlin.de - Usage: SEND [+|-
/squery NoteServ send +99 *!*maho@p*.lublin.sdi.tpnet.pl Shaka, when the walls fell. Jak szukasz eycka to jest pod e-mailem..
07:26 - NoteServ@fu-berlin.de - A. To: *!*maho@p*.lublin.sdi.tpnet.pl (99 days) added
07:26 - NoteServ@fu-berlin.de - Body: Shaka, when the walls fell. Jak szukasz eycka to jest pod e-mailem..
Last modified on
Copyright ©1995-2004 Dariush Pietrzak. All content on this website, unless otherwise noted, is licensed under a Creative Commons License.
Using desktop theme, version 0.5. Check the Blosxom site for the latest copy.