AutoPPP account?
Marc SCHAEFER (schaefer@alphanet.ch)
9 Aug 1999 1917:16:30 +0200
hylx@eastmail.com wrote:
> 1.How can I create an account to work with AutoPPP and how can my win95 users configurate their dialup connection(i.e. what user name and password they should use)?
The one configured in /etc/ppp/chap-secrets or /etc/ppp/pap-secrets,
except if you use the ``login'' option to pppd (in login.config),
and use PAP (+pap -chap), in that case users must be created as usual
(useradd).
> 2. Is it possible to let a win95 dialin user have shell access? If possible, how to do it?
Create an account with useradd. Let them use a terminal program.
> I also heard that there is a patch which can enable AutoPPP to work without an account. Would anyone mind telling me how does it work and where to find it?
See above, question 1, not using login. No patch needed, since it's how
I handle my system: PPP users have one login/password in /etc/ppp/chap-secrets
(in clear, there), then they have another password for POP, and maybe they
have a login shell and a third password.
> /etc/ppp/options/ttyS1:
> 192.168.0.1:192.168.0.2
I prefer to assign one address per user (in the chap-secrets) instead of
one address per modem.
> the "guest" entry in my /etc/passwd is:
> guest::1003:1003:,,,:/tmp:/etc/ppp/ppplogin
This is not needed if AutoPPP + chap secrets are used (NO login option).
> pppd[839]: rcvd [PAP AuthReq id=0x1 user="guest" password=""]
> pppd[839]: user guest logged in
well, as far as mgetty and pppd are concerned, everything is fine.