>
> I use mgetty ( mgetty-1.1.9-4.i386..rpm) to have users calling into my
> machine. mgetty is already installed and I ve configured most of it's
> files: /etc/mgetty+sendfax/dialin.config , mgetty.config and
> login.config.
> I want a user, we'll call him ppp to log into my machine. But in order
> not to use auto-ppp
> and depend on pap-secrets, I wanted to make pppd the user's shell:
>
> # I had to create a user ppp. Then in /etc/passwd, I ve got to modify
> the following
> line
> ppp:x:xxx:XXX:/home/ppp:/bin/bash
> I had to take out /bin/bash and replace it by /usr/sbin/pppd, which ends
>
> up like
> this:
> ppp:x:xxx:XXX:/home/ppp:/usr/sbin/pppd.
> # Then I added /usr/sbin/pppd in /etc/shells
> ..... But since I did that modification, when I log with user ppp,
> (I enter ppp at login prompt, then my password..then) I get the ppp
> garbage
> y}#A!}!}&E0....on my screen..and in a matter of seconds, it gets me back
> to the login prompt!!!
>
> Some of you asked me to do chmod u+s /usr/sbin/pppd, but the problem is
> still the same.
Well, any time you dial a ppp server with a text mode dialer (like
minicom, or Hyperterm in Windows) you're gonna see garbage on the
screen when you dial it (specifically, the kind of garbage you've
shown here). That's ppp running. Try dialing with chat like you
would dial your ISP, or try dialing with Dial-up Networking in
Windows if you have it available. Based on what's being kicked
out after the login prompt, I'd say it's running pppd like you
wanted it to. Am I way off?
---
Bill Kocik
Information Systems
Medar, Inc.
E-mail: [EMAIL PROTECTED]
Web: http://www.medar.com
-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to [EMAIL PROTECTED]