Choice between ppp and dumb; my solution

Bruno Van Wilder (bvwilder@dcs.rhbnc.ac.uk)
Fri, 24 Nov 1995 02:48:09 +0000 (GMT)

Hello,
We had some problems configuring our Portmaster and Merit-radius for ppp
and shell usage. After trying to implement the PAP system, we realised
that quite some of our users do not support PAP, and we changed our
approach. I managed to get a suitable solution with the usage of the
authfile:
users:
DEFAULT Authentication-Type=Realm

authfile:
shell File shell
NULL File ppp

shell.users:
DEFAULT Authentication-Type=Unix-PW
<typical flags for a shell login, like dumbuser>

ppp.users:
DEFAULT Authentication-Type=Unix-PW
<typical flags for a ppp login, like pppuser>

Now, a user logging in as e.g. bvwilder will get a ppp-session; if he
logs in as bvwilder@shell, he will get a shell-login.

This worked fine for me, except one detail: wehn using rlogin for shells,
the portmaster tried to log bvwilder@shell in instead of bvwilder. A
quick patch of rlogind fixed this problem.

If anybody wants more information, or the patched rlogind, please mail me.

Thanks a lot to Brad and David for their quick response!

(Brad- I guess your solution will indeed solve the problem, but as I
decided not to use pap, I didn't try it out. Thanks anyway!)

Greetings,
Bruno
--
Bruno Van Wilder
E-mail: bvwilder@dcs.rhbnc.ac.uk
Bruno.VanWilder@Hookon.be