- p, p. Systems p p - p phone. - , p p p , , p . ( .) pp pp Dialcodes - Devices \D. - 11-31 -  Login-Script p p , p - pp (login) p. p p , p, p: expect send expect p p , p - 6 send - p , expect. expect p: expect[-subsend-subexpect]... subsend , p expect , subexpect, subsend, p p p - . p: "send-expect" - p p p , "subsend-subexpect" p , p p 10 . Hpp, p "login--login" UUCP "login". p "login", p - . "login" , "p p- " , pp "login". p - , expect - "" ( p). , send "p p, - send \c. - 11-32 - p p, p p expect, p p subsend. Hpp, "-- login:" "p p" - "login:". p expect ; - , , pp, "ogin:". p p p p pp, p p , pp, "Login:" "Password:", p p - p , - p.  p pp p p , p (p ). p, Systems: --------------------------------------------------------- terps Any ACU 1200 18005211980 ""\r ogin:-BREAK-ogin: \ uucpx word: ichore --------------------------------------------------------- p p: 1. p . 2. p p p p "ogin:" (login:). 3. "ogin:" , BREAK. 4. "ogin:", p , uucpx. 5. p "word:" ( Password:), p "ichore". p pp p p - p p. , p p - BREAK ( p p p). - pp pp , p. cu; p p- , p p (login:). (p , - , p p uutry; p . " p ".) p p , , p p pp , - p p ; p: - 11-33 - 11-3. p p ---------------------------------------------------------------- \N (NUL ASCII) \b p \c p , p p, p . p pp. \d p 1 p . \p 1/4 1/2 . \E p pp p. ( - p, p , , - , , p .) \e p pp p. \n p. \r p p. \s p. \t . \\ \. EOT EOT ( p <CTL>d). BREAK BREAK. \K , BREAK. \ddd p p (ddd) . "" p. p p Permissions p p , Permissions (/usr/lib/uucp/Permissions) p - , p p p , . , p p p p p - p p , p p. p , - p p - . - 11-34 -  Permissions ; p p - \. , p p p. p p " -" p: name=value , p p . p p (#) - p p. p pp ( p p ). Permissions: LOGNAME , p p p . MACHINE , p p p . p Permissions Permissions p p p: - p pp (ID), p - p UUCP, - LOGNAME; - p , p MACHINE, - /p: 1. p p p. 2. p /usr/spool/uucppublic p. 3. , p - , p p p , rmail. - 11-35 - ------------------------------------------------------------ p p , p pp p p, , p p p. ------------------------------------------------------------  pp p , p , p . REQUEST , p p p p. p p p , p p. p , p p p p p: REQUEST=yes p , p p p p p: REQUEST=no p no. , REQUEST . REQUEST - LOGNAME ( p ), MACHINE ( p). - 11-36 - SENDFILES , p p p p. p - p p, p p p. p , p , p - p , ppp - LOGNAME: SENDFILES=yes p p, p - p p. p , , p p, , p . SENDFILES=call p call. LOGNAME, .. MACHINE , p. MACHINE, pp. READ WRITE p , p uucico , . READ WRITE p MACHINE, - LOGNAME. , p READ, WRITE, uucppublic, p: READ=/usr/spool/uucppublic WRITE=/usr/spool/uucppublic p pp - , p UUCP. READ=/ WRITE=/ , p . READ p- p , WRITE - - . - p . - 11-37 - ------------------------------------------------------------ READ WRITE - . Hpp, 700 p UUCP, - , Permissions. ------------------------------------------------------------ pp /usr/tmp, p- , WRITE : WRITE=/usr/spool/uucppublic:usr/tmp H , READ WRITE, , .. p . Hpp, , WRITE, /usr/news, pp p. p p - , p - p. Hpp, p , p pp etc/passwd, etc p . NOREAD NOWRITE READ WRITE , p . p pp - , , p - etc ( - , p ) p - usr/spool/uucppublic: READ=/ WRITE=/usr/spool/uucppublic NOREAD=/etc NOWRITE=/etc NOWRITE p , NOREAD. LOGNAME, MACHINE. - 11-38 - CALLBACK LOGNAME, p p - p, p - . pp , p CALLBACK. , p p, p, , , p. p , p p, p p . p , p p p p p : CALLBACK=yes p : CALLBACK=no CALLBACK p p. - p p, p - . COMMANDS MACHINE , p - p. p; p p p. pp uux# pp p, p p p p. p p . , COMMANDS LOGNAME ; COMMANDS MACHINE p pp , - . , p , p - p, : COMMANDS=rmail MACHINE p, pp p . Hpp, pp p COMMAND, p p owl, raven, hawk dove - p rmail, rnews lp. - 11-39 - MACHINE=owl:raven:hawk:dove \ COMMANDS=rmail:rnews:lp . Hpp, , rmail - p : COMMANDS=rmail:/usr/lbin/rnews:/usr/local/lp p p /bin, / usr/bin /usr/lbin. p - /usr/lbin/rnews rnews, - , p , /usr/lbin/rnews. lp /usr/local/lp. ALL , - , p, , - . , p - p p. p; , , p . p pp : COMMANDS=/usr/local/bin/lc:ALL:/usr/local/lp 1. ALL p; , lc lp ( p), p lc lp. 2. , p cat uucp, - COMMANDS, COMMANDS VALIDATE. , , p - p, p UUCP (uuxqt). VALIDATE p COMMANDS p - , p p. p p p- () p. p- VALIDATE p, pp p p UUCP p. p p/pp - . p - p, p VALIDATE . (VALIDATE p p - 11-40 - COMMANDS, p , ALL.) p p p - p pp pp - p p UUCP. H p pp p - pp -- p p p p. , p -, p p, p- p pp p. LOGNAME , , p, p agle, owl hawk ppp p, pp uucpfriend: LOGNAME=uucpfriend VALIDATE=eagle:owl:hawk , p p pp p uucpfriend, p- . COMMAND, MACHINE, , LOGNAME p. MACHINE , p ppp , p. p . pp UUCP. p p p - . p uuxqr, MACHINE Permissions COMMANDS. - p Permissions , p . pp MACHINE LOGNAME. MACHINE=eagle:owl:hawk REQUEST=yes \ COMMANDS=rmail:/usr/local/bin/lc \ READ=/ WRITE=/ - 11-41 - LOGNAME=uucpz VALIDATE=eagle:owl:hawk \ REQUEST=yes SENDFILES=yes \ READ=/ WRITE=/ p COMMANDS , - p rmail /usr/local/bin/lc. p MACHINE p , p, , eagle, owl hawk. , - eagle, owl hawk, - p. p , p p, pp - . pp, p p- p pp p uucpz.  p (OTHER) p p pp, p p MACHINE LOGNAME. p, p, - p . MACHINE LOGNAME p OTHER p: MACHINE=OTHER \ COMMANDS=rmail:/usr/local/bin/lc \ LOGNAME=OTHER \ REQUEST=yes SENDFILES=yes \ READ=/usr/spool/uucppublic \ WRUTE=/usr/spool/uucppublic , p p - p pp, OTHER, p VALIDATE . p  MACHINE  LOGNAME p MACHINE LOGNAME , - . Hpp, REQUEST,READ WRITE. - 11-42 - MACHINE=eagle:owl:hawk REQUEST=yes \ READ=/ WRITE=/ LOGNAME=uucpz REQUEST=yes SENDFILES=yes \ READ=/ WRITE=/ p: MACHINE=eagle:owl:hawk REQUEST=yes \ LOGNAME=uucpz SENDFILES=yes \ READ=/ WRITE=/  Devices p   Devices (/usr/lib/uucp/Devices) p - p p, p - p. p - p , p p . p - Dialers, Systems Dialcodes. p , . p p . Devices p: type ttyline dialerline speed dialer-token : type p (direct ACU), p . ttyline p p p, - Devices. Hpp, p p p dev/tty1A, , , tty1A. dialerline p p p- 801, p - . p p 801, - p (-). speed p p p. - p p p p p . dialer-token p p p p , - p p p p p, - 11-43 - . diler - p Direct p p .  Type p (direct ACU), p . Direct p p p p cu. ACU , - p p p . p p, - p p (LAN). LANswitch p LAN. micom develcom p Dialers. sysname p p p. (sysname p.) , , Devices p p p, Systems. Hpp, "gorgon" Type Devices, p p Systems. --------------------------------------------------- Devices: gorgon tty1A - 1200 hayes1200 Systems: gorgon Any ACU 1200 14087672676 \ ogin: nuucp ssword: DontLook ---------------------------------------------------  Speed p p p, type ACU Direct. speed p p (pp, C1200, D1200) p p (Centrex Dimension BPX). , .. p - ; - p , p - . - 11-44 - H p, p , - . , speed Devices, p - p Systems. Hpp, --------------------------------------------------- Devices: ACU tty1A - D1200 hayes1200 Systems: gorgon Any ACU D1200 3251 ogin: \ nuucp ssword: DontLook --------------------------------------------------- Hp p p p; Any. Any, - p, p Systems. Any p Systems Any, p 1200 . p p p- , p p (pp, 1200-9600 D1200-9600). p p- , Any.  Dialer-Token p: dialer [token dialer token ...] p p direct . p p p p p p, - ; p - p Systems. p p p - p p Dialers (pp, develcon milcon p ). p p p Dialers p . ( p p 801 p - p p. p . Devices.) UUCP p p , "/" /usr/lib/uucp. - 11-45 - p p, - Dialers, p : p- p . ------------------------------------------------------------ Direct p ; p p Penril Penril Hayes Hayes ( ) Ventel Ventel 212+ Vadic Racal Vadic 3451 LANswitch p, Hayes1200 Hayes Smartmodem 1200 Hayes2400 Hayes Smartmodem 2400 Develcon p Develcon Micom p Micom Rixon Rixon ATT4000 ppp p 300/1200 4000 ATT2212 AT&T DATAPHONE II 2212C ATT2214 AT&T DATAPHONE II 2214 NLS p ------------------------------------------------------------ p p pp p p p Dialers. pp - p p: ACU ttynn - 300-2400 /usr/lib/uucp/dialHA24 p p p TLI TLIS . ------------------------------------------------------------ usr/lib/uucp p - : ------------------------------------------------------------ dialHA12 Hayes Smartmodem 1200 dialHA24 Hayes Smartmodem 2400 dialVA3450 Racal Vadic 3451 dialTBIT Telebit Trailblazer p p - : p p p p pp. . p "Hp p" "p p " p. - 11-46 -  Dialer-Token p, dialer-token p p : 1. p  p p- p p, dialer-token - Dialers p - . p . p p Devices Dialers. , dialer p p Dialers. --------------------------------------------------- Devices: ACU tty1A - 1200 ventel Dialers: ventel =&-% "" \r\p\r\c\ $ <K\T%%\r>\c ONLINE --------------------------------------------------- , pp dialer-token Devices p , dialer (ventel). , token p- p ( p), p Field Systems. (p \ , . , .) p p p . 2. p  p p , dialer-token - direct. p p , direct sysname (, type). - 11-46 - 3. p  p, p p p p, p p- , , p p, p - p. - p. dialer p- Dialers. --------------------------------------------------- Devices: develcon tty13 - 1200 develcon \D Dialers: develcon "" "" \pr\ps\c est:\007 \E\D\e 007 --------------------------------------------------- , token \D, .. - p Systems p. Systems p p p phone; ppp p p (. Systems, phone). \D , p phone - ppp p Dialcodes. - 11-47 - 4. , p p  p p- , p - p, p p. p dialer-token. dialer p ( ) p Dialers. --------------------------------------------------- Devices: ACU tty14 - 1200 develcon vent ventel Dialers: develcon  "" "" \pr\ps\c est:\007 \E\D\e 007 ventel =&-% "" "" \r\p\r\c $<K\T%%\r>c ONLINE! --------------------------------------------------- p p develcon p, vent , p p develcon, , p p. p LAN , .. p p p. ventel - , p p p p, ventel p p, p Systems. p p dialer-token p: \T , Phone p- p Dialcodes. p p- Dialers p , p - p (penril, ventel, ..). p - p, p . \D , Phone pp - Dialcodes. Devices p p , p p p \D (p - p \T p p). \T p- p pp pp p, - p p (.. pp p). - 11-48 -  p    - / p pp getty. , p p Devices ( ), /etc /inittab ( ) . p p p p, getty pp, uuchat, p pp p p - . uuchat p, - Dialers, p. , p p p - . Hpp p p Hayes Smartmodem 2400 ( ) : hayes2400 &hayes2400, p p p p p . pp /usr/lib/uucp pp -h, p p . - 11-49 -  p UUCP p , p, p - pp.  p p Dialers Dialers (/usr/lib/uucp/Dialers) pp, p p, p . pp p p ASCII, p p , p - p p - p p ASCII (, pp, - ). , , p , p p Dialers. p , p p- p p- p . p p p. Hpp, Dialers p hayes2400 &hayes2400. p pp, - Devices p Dialers (pp, 801). p p Devices p Dialers. p , Devices, Dialers. p - , Dialers ppp - . Dialers - p: dialer substitutions expect-send ... dialer p p Devices. substitutions p- p pp; p p - pp p p. p- pp = - , p p p " " "". expect-send p. H p p p p, - UUCP Dialers. - 11-50 - -------------------------------------------------------------- Dialers -------------------------------------------------------------- penril =W-p "" \d>s\p9\c)-W\p\r\ds\p9\c-) y\c : \E\TP>9\c OK ventel =&-% "" r\p\r\c $ <K\T%%\r>\c ONLINE! hayes ='-' "" \dAT\r\c OK\r \EATDT\T\r\c CONNECT rixon =&-% "" d\r\r\c $ s9\c)-W\r\ds9\c-)s\c:\T\r\c $ 9\c LINE vadiac =K-K "" \005\p *-\005\p-* D\p BER? E\T\e \r\c LINE develcon "" "" \pr\ps\c est:\007 \E\D\e \007 micom "" "" \s\c NAME? \D\r\c GO direct att2212c =+-' "" \r\c :-: ato12=y,T\T\r\c\ red att4000 ='-' "" \033\r\r\c DEM: \033s0401\c \006 \033s0901\c \ \006 \033s1001\c \006 \033s1102\c \006 \033dT\T\r\c \006 nls "" "" NLPS:000:001:1\N\c -------------------------------------------------------------- H p p p - , "\", p Dialers: \p (p 1/4 1/2 ). \d p ( pp 2 ). \D p , p pp Dialcodes. \T p , p ppe Dialcodes. \K BREAK. \E p pp () ( p p). \e pp (). \r p p