|
|
1.1 root 1: .Bh
2: Data in the
3: .I lib
4: directory
5: .PP
6: Most of the data files in
7: .I /usr/lib/uucp
8: have changed their names,
9: and some have changed their content.
10: .Sh
11: Systems
12: .PP
13: Names of remote systems
14: and information about how to call them
15: has been moved from
16: .I L.sys
17: to
18: .I Systems .
19: The old
20: .I uucp
21: programs searched several
22: .I L.sys
23: files
24: (\c
25: .I L.sys ,
26: .I L.sys.dk ,
27: .I L.sys.local ,
28: .I L.sys.general );
29: the new system
30: has been changed locally
31: to search
32: .I Systems.local ,
33: .I Systems.dk ,
34: .I Systems ,
35: .I Systems1 ,
36: and
37: .I Systems.gen
38: in that order.
39: .I L.sys.general
40: has become
41: .I Systems.gen
42: to keep the filename
43: short enough
44: to please
45: .I namei .
46: .PP
47: The format of system entries
48: has changed slightly,
49: but most old
50: .I L.sys
51: entries
52: should be OK.
53: Caller type
54: .B CMD
55: has gone away,
56: and
57: type
58: .B DIR
59: isn't really there anymore;
60: get help from [1]
61: if you must cope with direct lines.
62: .PP
63: Login chat scripts
64: are slightly different.
65: The old system
66: sent a newline
67: (ASCII LF)
68: after each token;
69: the new one sends
70: a carriage return
71: (ASCII CR).
72: There are now many more
73: special character escapes;
74: all of the old ones
75: are supported
76: (as well as a few
77: which have crept into
78: .I L.sys
79: even though the old
80: .I uuco
81: didn't know about them).
82: The
83: .B GARB
84: and
85: .B JUNK
86: magic cookies are gone;
87: use the
88: .I expect\-send\-expect
89: syntax instead.
90: .Sh
91: Permissions
92: .PP
93: Information about
94: which machines have what access,
95: formerly spread among
96: .I L.logins ,
97: .I L.limited ,
98: and a set of unchangeable defaults
99: (such as stuff found in
100: .I USERFILE
101: in other
102: .I uucp s)
103: has been consolidated into a new file named
104: .I Permissions .
105: There are many parameters which can be set here.
106: The minimum that must be present is a line
107: of the form
108: .IP
109: .B LOGNAME= login
110: .LP
111: for each real user-\s-1ID\s0
112: which will be used for
113: incoming
114: .I uucp .
115: Note that this means any user who will
116: run
117: .I uucico
118: as a slave;
119: in particular,
120: any users whose shell is
121: .I uucico ,
122: and the user named in
123: the
124: .I uucp
125: entry in
126: .I /etc/procctl .
127: .PP
128: By default,
129: only files in
130: .I /usr/spool/uucppublic
131: may be read or written,
132: and
133: only
134: .I rmail
135: may be called as a remote command.
136: .PP
137: A
138: .I Permissions
139: file which approximates
140: the old system's behaviour
141: might look like
142: .DS
143: .B
144: LOGNAME=uucp
145: LOGNAME=uucpa
146: MACHINE=OTHER \e
147: COMMANDS=/bin/rmail:/etc/asd/asdrcv
148: .R
149: .DE
150: .PP
151: To allow locally queued requests
152: to be sent when a remote calls
153: under (say) login name
154: .I uucpa ,
155: add
156: .B SENDFILES=yes
157: to the
158: .B LOGNAME=uucpa
159: line.
160: If
161: .B VALIDATE=hippo
162: is added,
163: machine
164: .I hippo
165: will only be allowed
166: to log in as
167: .I uucpa .
168: This is similar
169: to what
170: .I L.logins
171: did in the old system,
172: but somewhat less precise.\(dg
173: .FS
174: \(dg
175: Any machine logging in
176: as
177: .I uucpa
178: will be sent local work;
179: in the old system,
180: particular machines could be named.
181: A safer practice
182: is to devote a login
183: to each trusted machine,
184: or perhaps to several trusted machines
185: (and no suspect ones).
186: .FE
187: .PP
188: The behaviour induced by
189: .I L.limited
190: in the old system
191: (refuse connection
192: from systems we don't recognize)
193: is caused in the new one
194: by the existence of
195: .I /usr/lib/uucp/remote.unknown .
196: If this file
197: exists and is executable,
198: it is invoked
199: whenever a system
200: not listed in any
201: .I Systems
202: file calls.
203: As distributed,
204: it is a shell script
205: which appends the time
206: and the system name
207: to a log file.
208: To allow calls from
209: unknown systems,
210: remove it
211: (or just turn off execute permissions).
212: .PP
213: To learn more than you
214: probably want to know about
215: .I Permissions ,
216: see Appendix IV
217: in [1].
218: .Sh
219: Other data files
220: .PP
221: .I L.devices
222: has been renamed
223: .I Devices ;
224: its format has changed a bit too.
225: It must contain the following two lines
226: for Datakit
227: and autodialers called by
228: .I dialout (3):
229: .DS
230: .B
231: DK DK 0 Any DK \eD
232: ACU \- \- Any Dialout
233: .R
234: .DE
235: Any existing
236: .I L.devices
237: is almost certainly obsolete.
238: If not,
239: see [1] for help.
240: .PP
241: .I L.dialcodes
242: has been renamed
243: .I Dialcodes .
244: Its format has not changed.
245: .PP
246: A new file,
247: .I Poll,
248: lists systems which should be
249: polled for work periodically,
250: and when they should be called.
251: .PP
252: .I L.sysequiv ,
253: .I L.genequiv ,
254: and
255: .I L.netequiv
256: have disappeared.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.