[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PPP] Mulitple userids at one ISP



John,

	I think you will have seen Peter's proposed solution on
debian-user to my problem. The trouble is that I cant figure out how it
will work : nothing in ppp or the current Debian PPP setup seems to allow
differentiation of the PPP daemon's behaviour depending upon the user that
invoked 'pon'.

	You asked the question : why did I think that my proposed solution
was not 'clean'. Here is why :

	Assume that I have two users with email ids A@C.net and B@C.net.
Their accounts on my box are A and B. Under my solution, I would have to
set up two providers : AC and BC. When 'pon AC' is executed, one dials
into A's ISP account, and when 'pon BC' is executed, one dials into B's
ISP account.

1.  Setting up a different ISP for every user account at the ISP is simply
hair-raising maintenance wise. Then if I had another user genuinely
dialing into a different ISP, or A himself having another account on
another ISP, would complicate the issues. It would soon become impossible
to keep track of the real ISP's and the 'fake' ones.
2.  What would prevent B from dialing into A's account by executing 'pon
AC'?

	If by saying '... number of ways (none using pppconfig)' you meant
that the only solution is to hand-craft a PPP setup, then that is what I
propose to change. The number one topic today that trips up newies is PPP
configuration (video cards and X setups come a close second). I think it
is important that pppconfig is expanded in features to handle more cases.

Kenneth

On 25 Mar 1999, John Hasler wrote:

> > It seems to me that the current PPP initiation scripts do not allow one
> > to maintain multiple accounts at one ISP for different users on the same
> > dial-out machine. The only way I can think of doing it right now is to
> > fake it by creating a separate 'provider' for each user even though the
> > provider is the same.
> 
> > Is there another, cleaner way of doing what I need to?
> 
> There are quite a number of ways (none using pppconfig), but what strikes
> you as unclean about the method you describe above?
> 
> > If there isnt, I feel irritated enough about this to put in some code to
> > get this working the way I want. Please advise.
> 
> Do mean changes in pppconfig?  If so send me your ideas and I will consider
> putting them in pppconfig 2.0 (which will be in perl, unlike 1.2 which is
> in sh).
> -- 
> John Hasler
> john@dhh.gt.org (John Hasler)
> Dancing Horse Hill
> Elmwood, WI
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 
> 



Reply to: