Provider
Florian Lohoff
flo at rfc822.org
Sat Jan 22 21:31:11 CET 2000
On Fri, Jan 21, 2000 at 07:22:14PM +0100, Nils Bokermann wrote:
>
> UUCP ist EIN mal teuer. danach hast du den meisten kram auch drin und
> nen neueintrag kannst du auch per script machen. Der das script
> schreibt kost wirklich (oder ist student ;) Aber das gilt fuer alle
> dinge, die man mit $EDITOR configuriert...
Das script schreibe ich mal in 4 sekunden ... Nur so aus dem
gedaechnis - Keine garantie fuer funktionalitaet ...
-----------------------------------------
#!/bin/sh -e
NAME=$1
PW=$2
LOGIN=`printf uu ; echo $NAME | sed -e 's/\..*$//' | cut -c 1-6`
useradd -s "/usr/sbin/uucico -l" -d "/var/spool/uucppublic" $HOST
echo $LOGIN $PW >>/etc/uucp/passwd
echo $1 uucp:$1 >>/etc/postfix/transport
postmap hash:/etc/postfix/transport
-----------------------------------------
Flo
--
Florian Lohoff flo at rfc822.org +49-5241-470566
"Technology is a constand battle between manufacturers producing bigger and
more idiot-proof systems and nature producing bigger and better idiots."
More information about the Linux
mailing list