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