AutoPPP login.config : Permission denied
Gert Doering (gert@greenie.muc.de)
Sat, 3 May 1997 14:55:19 +0200
Hi,
Peter McDonald wrote:
> I am running mgetty from /etc/inittab. The relevant line is:
Ok.
> d1:2345:respawn:/usr/local/sbin/mgetty -n 1 -m '"" AT&FM0S0=0 OK' ttyS1
Looks good.
> I experimented with runlevels... 2345 seemed to be the only one to auto-
> answer the phone, without generating 'd1 spawning too fast' errors.
Hmmm. The numbers definitely have nothing to do with the error message --
but if you specify numbers that are different than your current runlevel,
init just won't start mgetty, so it won't answer the phone. Check the
"man init" man page.
> If I attack the problem from the other direction, by opening up
> permissions
> of login.config, the logfile error becomes:
>
> login: '/usr/local/etc/mgetty+sendfax/login.config' must be root/0600:
Sure, as for security reasons, the file must not be world readable.
Is, by chance, your /usr/local filesystem mounted over NFS? If yes,
make sure that root has "root privileges" (or put the login.config
on a local hard disk), because on an NFS file system, root has no
privileges, and this is about the only thing I can imagine why opening
the file would fail...
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany gert@greenie.muc.de
fax: +49-89-3545980 gert.doering@physik.tu-muenchen.de
.