PPP server set up: makin pppd the user's shell
Marc Corel (sponton@microtec.net)
Sun, 18 Oct 1998 22:33:23 +0200
Hello,
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.
Thanks for help