, - 218 - UUCP hostname. , UUCP , "hostname, - UUCP . config : # /usr/lib/uucp/config - UUCP main configuration file Hostname vstout 13.3.6 UUCP - sys sys , . Anentry ; , , . , . , . , paramters .. . . 13.3.6.1 . ( uucico, ), . . 6. 2 UUCP ; ( Taylor UUCP) . 13.3.6.2 , , . , uucico's. - 219 - '=' " ", '_' . , , . [ , , 0 9, .] , - ( ). dialcode. , dialcode : # /usr/lib/uucp/dialcode - dialcode translation Bogoham 024881 Coxton 035119 Bogoham7732 sys, . 13.3.6.3 Port Speed Port Speed , , , . (7) , . port, , , () . , speed . , port, uucico , , . , , . 7. tty () , . - 220 - , , uucico , , , . 13.3.6.4 Login chat ( ) (login chat script), uucico, . (), , uucico. , uucico , , , , , . . Uucico \r , . , : login: vstout Password: catch22 , . , , Login login. Uucico , , getty . -(sub-chat) , . Sub-chat , . , BREAK, . , , Enter , . ("") UUCP . - 221 - "" \n\r\d\r\n\c login:-BREAK-login: vstout password: catch22 ESC-, . - , : , uucico , . \t C . \r . \s . , . \n . \\ ( Backslash). , ESC- : EOT - (^D). BREAK - . \c . - 222 - \d 1 . \E - ., uucico ECHO , , , . ( ). . \e . \K , BREAK. \p . 13.3.6.5 , , . Taylor UUCP , . , , , . - , altgrnave. pablo, sys : system pablo phone 123-456 alternate phone 123-455 - 223 - pablo, uucico 123-456, , . , . 13.3.6.6 Taylor UUCP , . - , , . , , uucico -S -f. , Taylor UUCP , sys. , ny () sys. - , , . Mo, Tu , We, Th, Fr, Sa, Su Any(), Never(), Wk . 24- , . , . . . , MoWe0300-0730, Fr1805-2000 3 7.30 , 18.05 20.00. , Mo1830- 0600, & , 6.00 , 18.30 (). Any Never . time , . , uucico . , uucico backoff , . , , 5 , uucico 5- . - 224 - timegrade a . , timegrade : Timegrade N Wk1900-0700, SaSu Timegrade C Any (spoolgrade) C ( B C), , , ( N) . time, timegrade . : timegrade , ; , . calltimegrade, ; , . (8) , timegrade , , , . , uucico, . 13.3.7 (Devices) - port port uucico . , TCP. sys, port , port, . sys. ; , uucico , , . port , - 225 - . - modem, direct , tcp TCP. port , - modem. , ; TCP . 8. Talyor UUCP, . , . /dev( /dev/cua1). (9) , port , . - . , , Hayes . , uucico, . Taylor UUCP dial. , , dialer. ( , . , , 14400bps; , 9600bps. , "" , . port ... , . , serial1-slow, port sys. , . , : - 226 - #NakWell modem; connect at hight speed port serial1 # port name type modem #modem port device /dev/cua1 # this is COM2 speed 38400 #support speed dialer nakwel #normal dialer # NakWell modem; connect at low speed port serial1 # port name type modem # modem port device /dev/cua1 # this is COM2 speed 9600 # supported speed dialer nakwell-slow # don't attempt fast connect T serial1 , 9600bps . Uucico 9. ttyS * , (dial-in). . , 38400bps , , port/ 13.3.8 - dial dial , . , UUCP , () , . , . . dial. dial dialer, - 227 - . - (modem chat), chat. (login chat), uucico, , . , , . Hayes- : # NakWell modem; connect at high speed dialer nakwell # dialer name chat "" ATZ OK\r ATH1E0Q0 OK\r ATDT\T CONNECT chat-fail BUSY chat-fail ERROR chat-fail NO\sCARRIER dtr-toggle true "", . C uucico (ATZ) . ATZ - Hayes . uucico , OK, , ECHO, ... , OK , uucico (ATDT). Escape- \T , sys. Uucico , COONECV, , . , , - . , , . ; uucico . UUCP(log file) "timed out in chat script" . , Taylor UUCP uucico , - 228 - chat-fail . uucico chat-file (modem chat), , UUCP( log). , UUCP DTR . , - DTR , . (10) 13.3.9 UUCP TCP , UUCP TCP , Usenet . TCP - , , NNTP , , . (newsfeeds), , ISDN. TCP , . , UUCP TCP. sys, , TCP. 10. DTR. , , . system gmu address news.groucho.edu time Any port tcp-conn chat ogin: vstout word: clouseau address IP , - 229 - (domain name). port : port tcp-conn type tcp service 540 , TCP , sys tcp-conn, uucico TCP 540 . - UUCP. , service . , /etc/services. UUCP- - uucpd. 13.3.10 , vstout tiny. , sys. port tiny, . system tiny time Any port direct1 speed 38400 chat ogin: cathcart word: catch22 port . ,  . port direct1 type direct speed 38400 - 230 - 13.4 UUCP, - 13.4.1 UUCP , , . , , - - . Taylor UUCP rmail rnews, email Usent UUCP. , uuxqt - , /bin,/usr/bin, /usr/local/bin. , commands sys. , . , pablo rsmtp rmail rnews: (11) system pablo commands rmail rnews rsmtp 13.4.2 Taylor UUCP . . request no, , , . 11.rsmtp , SMTP. . , '' '' , transfer no. .  - 231 - " , '' '' . , . , UUCP, /var/spool/uucppublic. - , ; FTP Internet. . , Taylor UUCP :local-send, ; local-receive, , UUCP ;remote-recive remote- send, . : system pablo local-send /home ~ local-receive /home ~/receive remote-send ~ !~/incoming !~/receive remote-receive ~/incoming local-send /home UUCP pablo. local-receive uucppublic, /home. remote-send pablo /var/spool/uucppublic . uucico , . , pablo incoming. UUCP - , . , ... , UUCP . - 232 - 13.4.3 UUCP , . , , seciretrieve uchile , . : $ Uucp -r seci! Uchile! ~/find-ls.gz ~/uchile.files.gz . , seci UUCP- uchile, . , UUCP, , , , - X11R6. , Taylor UUCP . , forward. , . , UUCP seci sys, pablo uchile: #################### # pablo system pablo forward uchile #################### # uchile system uchile forward-to pablo - 233 - forward-to uchile , pablo. UUCP . uchile pabno seci; . , ANY ( ). 13.5 . , , , UUCP(accounts). . 13.5.1 getty , dialin , getty . , getty , '' ''., , getty, ( uucico, minicom). - uugetty getty ps . Linux-a ; uugetty /sbin. , - mgetty (. Gert Doering-), . sunsite.unc.edu ( ). uugetty mgetty - ; Serial HOWTO (Grag Hankins), , getty ps mgetty. 13.5.2 UUCP (account) , , UUCP. , , - 234 - . pablo, () Upablo, . , , , /etc/passwd. UUCP uuguest. /var/spool/uucppublic; - uucico. , useradd: # Useradd -d /var/spool/uucppublic -G uuguest -s /usr/lib/uucp/uucico uablo , /etc/passwd , , 5000 150 - uid gid, Upablo uuguest, . Upablo: x: 5000:150: UUCP Account:/var/spool/uucppublic:/usr/lib/ uucp/uucico , , passwd. UUCP TCP, inetd, uucp. , /etc/inetd.conf: (12) uucp stream tcp nowait root /usr/sbin/tcpd /usr/lib/uucp/uucico -l -l uucico . , login, /etc/passwd. - 235 - /usr/lib/uucp/passwd : Upablo IslaNegra Ulorca co'rdoba 12. , tcpd 700, , uucp, . , uucp 600. , , , , , . , Taylor UUCP 1.05 , , getty uucico -u. (13) , getty, uucico /bin/login. getty ps, , LOGIN . , (). Mgetty, , , , , . , , mgetty uucico , , U, . UUCP , snarfing , - . 13.5.3 . 13.5.3 UUCP - , ; , . , - 236 - UUCP, , - , . , UUCP, . , , , /" , , called-login sys.: system pablo called-login Upablo 13. -u 1.04 , . , , - pablo, uucico , Upablo. , , . - , . , sytems, , - . , , - , neverlogsin. 13.5.4 - , . , " ", , UUCP. , , . . , - 237 - , . , . , . : q , pfvtnbnt . UUCP, , . , uucico , () anymore! , , . , , , uucico , - " , ''. , , " (RBADSEQ) ''. , : # enable call sequence checks sequence true , . Taylor UUCP , ".Sequence" spool . uucp, 600 ( uucp). , . , , , 60. # cd /var/spool/uucp/pablo # echo 94316 > .Sequence # chmod 600 .Sequence # chown uucp.uucp .Sequence - 238 - , , , . 13.5.5 UUCP " UUCP- , (. ). uucp. , . , . , sys, , . Taylor UUCP unknown. unknown , , : unknown remote-receive ~/incoming unknown remote-send ~/pub unknown max-remote-debug none unknown command-path /usr/lib/uucp/anon-bin unknown commands rmail pub /var/spool/uucppublic. uucico , . rmail; uucico rmail , anon-bin. rmail, , , - . , maintainer , . UUCP, . uucico . - 239 - 13.6 UUCP , uucico . . . , , , () . , , . 13.6.1 UUCP , , TCP, X. 25, . , UUCP , (). : . , . , , . TCP, . , . , . , , . , , () acknoledgements . uucico