AutoPPP login.config : Permission denied

Peter McDonald (petermc@usa1.com)
Tue, 29 Apr 1997 08:36:53 -0400


Hi again!

I am running mgetty from /etc/inittab. The relevant line is:

d1:2345:respawn:/usr/local/sbin/mgetty -n 1 -m '"" AT&FM0S0=0 OK' ttyS1

I experimented with runlevels... 2345 seemed to be the only one to auto-
answer the phone, without generating 'd1 spawning too fast' errors.

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:
 Invalid argument

So I'm stuck. Any ideas?

Gert Doering wrote:
> 
> Hi,
> 
> Peter McDonald wrote:
> > The problem arises when the AutoPPP negotiation begins. The first error
> > in the ttyS1 logfile reads:
> >
> > login: cannot open '/usr/local/etc/mgetty+sendfax/login.config'
> > Permission denied
> 
> Looks like you are not running mgetty from /etc/inittab, and thus it
> doesn't have root privileges.
> 
> gert
.