From 9467eab5e0e45b22a99a2c34ba0fc306f0711173 Mon Sep 17 00:00:00 2001 From: uucp Date: Tue, 5 Mar 2019 00:31:41 +0000 Subject: [PATCH] added config templates --- etc/call | 2 ++ etc/config | 16 ++++++++++++++++ etc/port | 29 +++++++++++++++++++++++++++++ etc/sys | 13 +++++++++++++ 4 files changed, 60 insertions(+) create mode 100644 etc/call create mode 100644 etc/config create mode 100644 etc/port create mode 100644 etc/sys diff --git a/etc/call b/etc/call new file mode 100644 index 0000000..6ac42b3 --- /dev/null +++ b/etc/call @@ -0,0 +1,2 @@ +# Username/password pairs are in the format: +# Uname password diff --git a/etc/config b/etc/config new file mode 100644 index 0000000..f78b3ba --- /dev/null +++ b/etc/config @@ -0,0 +1,16 @@ +# +# config This is the configuration file for uucp. Most configurable +# things are commented out as they are the default (compiled +# in) setting. The only thing you might want to change is the +# "nodename". That's your UUCP system name - change it if it's +# different from your normal hostname. +# + +nodename + +# Defaults. +#sysfile /etc/uucp/sys +#portfile /etc/uucp/port +#dialfile /etc/uucp/dial +#callfile /etc/uucp/call +#passwdfile /etc/uucp/passwd diff --git a/etc/port b/etc/port new file mode 100644 index 0000000..c596116 --- /dev/null +++ b/etc/port @@ -0,0 +1,29 @@ +# +# port This file defines the possible dialout ports you have +# on your system. Normally you have only one, and it's +# most probably /dev/ttyS[0-3]. Define that port here. +# +# If you have multiple dialout ports, you can ofcourse +# define them all if you want. +# +port ACU +type modem +# +# NOTE: Make SURE this device is owned by root:dialout, mode 0660 (crw-rw---) +# +device /dev/ttyS3 +dialer hayes +speed 57600 + +# +# Description for the TCP port - pretty trivial. DON'T DELETE. +# +port TCP +type tcp + +port Dataforge +type pipe +command /usr/bin/ssh -a -x -q -i /var/spool/uucp.ssh/id_rsa -l uucp uucp.dataforge.tk +reliable true +protocol etyig + diff --git a/etc/sys b/etc/sys new file mode 100644 index 0000000..a57c3ad --- /dev/null +++ b/etc/sys @@ -0,0 +1,13 @@ +system dataforge +call-login * +call-password * +local-send / +local-receive /var/spool/uucppublic +remote-send / +remote-receive /var/spool/uucppublic +time any +forward ANY +chat "" \d\d\r\c login: \d\L word: \P +chat-timeout 60 +protocol t +port Dataforge