|
|
Initial revision
L-DIALCODES(5) 1986 L-DIALCODES(5)
NNAAMMEE
L-dialcodes - UUCP phone number index file
DDEESSCCRRIIPPTTIIOONN
The _L-_d_i_a_l_c_o_d_e_s file defines the mapping of strings from the
phone number field of _L._s_y_s(5) to actual phone numbers.
Each line in L-dialcodes has the form:
alpha_string phone_number
The two items can be separated by any number of blanks or
tabs. Lines beginning with a `#' character are comments.
A phone number in _L._s_y_s can be preceded by an arbitrary
alphabetic character string; the string is matched against
the list of _a_l_p_h_a__s_t_r_i_n_gs in _L-_d_i_a_l_c_o_d_e_s. If a match is
found, _p_h_o_n_e__n_u_m_b_e_r is substituted for it. If no match is
found, the string is discarded.
_L-_d_i_a_l_c_o_d_e_s is commonly used either of two ways:
(1) The alphabetic strings are used as prefixes to denote
area codes, zones, and other commonly used sequences.
For example, if _L-_d_i_a_l_c_o_d_e_s included the following
lines:
chi 1312
mv 1415
In _L._s_y_s you could enter:
chivax Any ACU 1200 chi5551234 ogin:--ogin: nuucp
mvpyr Any ACU 1200 mv5556001 ogin:--ogin: Uuucp
instead of
chivax Any ACU 1200 13125551234 ogin:--ogin: nuucp
mvpyr Any ACU 1200 14155556001 ogin:--ogin: Uuucp
(2) All phone numbers are placed in _L-_d_i_a_l_c_o_d_e_s, one for
each remote site. _L._s_y_s then refers to these by name.
For example, if _L-_d_i_a_l_c_o_d_e_s contains the following
lines:
chivax 13125551234
mvpyr 14155556601
then _L._s_y_s could have:
chivax Any ACU 1200 chivax ogin:--ogin: nuucp
mvpyr Any ACU 1200 mvpyr ogin:--ogin: Uuucp
Printed 7/4/90 April 1
L-DIALCODES(5) 1986 L-DIALCODES(5)
This scheme allows a site administrator to give users read
access to the table of phone numbers, while still protecting
the login/password sequences in _L._s_y_s.
FFIILLEESS
/usr/lib/uucp/L-dialcodes
/usr/lib/uucp/UUAIDS/L-dialcodes L-dialcodes example
SSEEEE AALLSSOO
uucp(1C), uux(1C), L.sys(5), uucico(8C).
Printed 7/4/90 April 2
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.