12 mgetty configuration – Guralp Systems CMG-DCM User Manual

Page 102

Advertising
background image

CMG-DCM Data Communications Module

when it authenticates itself to other systems, and also when it

authenticates other systems to itself. Each line in a secrets file contains
(at least) the name of a client, the name of the server, and a secret

specific to that particular combination of client and server.

For a full explanation of the format and usage of the /etc/ppp/chap-
secrets file, see the Linux manual page for pppd(8).

6.12 mgetty configuration

The next two entries in the menu allow you to alter the

mgetty

configuration files, /etc/mgetty+sendfax/mgetty.config and
/etc/mgetty+sendfax/login.config.

Clicking on either of these entries brings up a page in the work area
which enables you to edit the file and its attributes directly, in the

same manner as the PPP configuration files above.

The Web interface does

not check that the content of the files will be

understood. You should ensure that the file is valid before committing

any changes, referring to the Linux manual page for mgetty(8) if you

are unsure.

When you have finished editing a file, clicking Save changes will write
the changes to disk. The changes will not take effect, however, until all

mgetty services are restarted. You can restart all running mgetty

services by clicking

Restart mgetty; whilst this occurs, the network will

be briefly unavailable.

mgetty.config

The file /etc/mgetty+sendfax/mgetty.config is the main

configuration file for

mgetty.

For full details on the format of the file and the options available, see

the explanatory comments within the file, or the Linux info
documentation for mgetty.

login.config

Normal user logins are handled by the program /bin/login. However,

you may want to run a different program to handle logins by certain

users. You can do this by editing the file
/etc/mgetty+sendfax/login.config.

For full details on the format of the file, see the explanatory comments
within the file, or the Linux info documentation for mgetty.

102

Issue F

Advertising