JIMSUN UUCP-Over-TCP: Client Side [back] [home]

Copyright, License, and Disclaimer

Configuring UUCP-over-TCP: A Practical, Skeletal "How To"
Copyright (C) 1999-2004 James S. Seymour 

This information is free; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This work is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You may have received a copy of the GNU General Public License
along with this work; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

An on-line copy of the GNU General Public License can be found
here.

Configuring UUCP-over-TCP: Client Side


    Make sure /etc/services has "uucp" entries

	uucp-path	117/tcp
	uucp		540/tcp		uucpd	# uucp daemon

    Start-up/Enable UUCP "Listener" service (/etc/inetd.conf) (optional)

	If the server's not going to be initiating UUCP conversations,
	this is not necessary.  Perhaps even undesirable.  Included for
	completeness.

	Sun Solaris 2.x and BSD-derived (?) systems

	    uucp  stream  tcp  nowait  root  /usr/sbin/in.uucpd  in.uucpd

	Linux (without BSD "uucpd")

	    uucp  stream  tcp  nowait  uucp  /usr/sbin/tcpd  /usr/lib/uucp/uucico   -l

	Kick inetd in the pants with a SIGHUP.

    Create TCP "Devices" Entry

	Sun Solaris 2.x: /etc/uucp/Devices

	    TCP,et - - Any TCP -

	Linux: /usr/lib/uucp/Devices

	    TCP uucp - -

    Create server host account (optional)

	If the server's not going to be initiating UUCP conversations,
	this is not necessary.  Perhaps even undesirable.  Included for
	completeness.

	Note that the "<password>" below is the password assigned the
	server on the client's host.  These are in clear text!  So make
	absolutely sure this file is not readable by other than user
	"uucp"!

	. Sun Solaris 2.x and other Unix systems where UUCP uses standard
	  /etc/passwd and /etc/shadow, or other authentication mechanism.

	    Create "user" account for server host.  Account should have
	    unique uid.  Group i.d. should be "uucp".  "Shell" should be
	    "uucico".  Home directory is normally something like
	    /var/spool/uucp/<client> or /var/spool/uucppublic/<client>.

	    E.g.:

		server:x:1234:5:UUCP Login:/usr/spool/uucppublic/client:/usr/lib/uucp/uucico

	. Taylor UUCP

	    Create UUCP-specific password entry in /etc/uucp/passwd in the
	    form:

		server password

	    The password is in clear text!  Not encrypted.

	    This file must be owned by uucp (probably not a bad idea to
	    make it group "root") and *must* be permissions 600.

	    The /etc/uucp directory should *not* be readable except by
	    user "uucp".

	    Note: You can also create a normal user account as under
	    "Sun Solaris 2.x ...", above, but it's not necessary for
	    just a UUCP login.  May even be undesirable.

    Create UUCP configs

	Permissions (HDB-style UUCP)i
	
	    Sun Solaris 2.x: /etc/uucp/Permissions
		      Linux: /usr/lib/uucp/Permissions

	    LOGNAME=<server> MACHINE=<server> MYNAME=<client> \
	    COMMANDS=rmail \
	    SENDFILES=yes REQUEST=no

	Systems

	    Note that the "<password>" below is clear text!  So make
	    absolutely sure this file is not readable by other than user
	    "uucp"!

	    Solaris 2.x: /etc/uucp/Systems

		<server> Any TCP uucp - ogin:--ogin: <client> word: <password>

	    Linux: /usr/lib/uucp/Systems

		<server> Any;1 TCP - <server> ogin:--ogin: <client> word: <password>

	Add/configure server routing/transport in MTA.
	(I.e.: "smart-/default-host", "smartuser", etc.)

	    MTA-specific: To Be Done?

Comments or Questions?
Created: 31 Jan, 1999 / Last updated: 12 Oct, 1999 [100% MS Free Site]