Re: [PPP] Mulitple userids at one ISP

1999-03-26 Thread John Hasler
Jor-el writes:
> I think you will have seen Peter's proposed solution on
> debian-user to my problem.

Not yet.

> 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'.

Use this script instead of pon:

/usr/sbin/pppd call $USER

and create a provider named after each user.

> 1.  Setting up a different ISP for every user account at the ISP is
> simply hair-raising maintenance wise.

We're talking at cross-purposes a bit here, I think.  I was assuming that
you already had the multiple accounts and were attempting to deal with
them.  If your problem is multiple email addresses and a single ISP
account, look into fetchmail's multidrop capability.

> 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.

Nothing fake about any of them.  Some just happen to be with the same ISP.
Some sort of a simple naming convention should keep them sorted out for
you.

> 2.  What would prevent B from dialing into A's account by executing 'pon
> AC'?

The fact that you have put /etc/ppp/peers/AC in group 'A' and
/etc/ppp/peers/BC in group 'B'.

> 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.

Perhaps you would like to revive the 'dunc' package?  It did this sort of
stuff.

> The number one topic today that trips up newies is PPP configuration
> (video cards and X setups come a close second).

That doesn't seem to be the case with Debian.

> I think it is important that pppconfig is expanded in features to handle
> more cases.

pppconfig is intended for new users.  I assume that system administrators
can handle the editing of a few rather simple config files.  I try to
handle the most common cases first.  As you are the first to bring up this
particular case, I must conclude that this is not a very common problem.  I
will consider it, but I don't wnat to bloat pppconfig by trying to cover
every possible situation.
-- 
John HaslerThis posting is in the public domain.
[EMAIL PROTECTED]  Do with it what you will.
Dancing Horse Hill Make money from it if you can; I don't mind.
Elmwood, Wisconsin Do not send email advertisements to this address.


Re: [PPP] Mulitple userids at one ISP

1999-03-26 Thread Jor-el
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 [EMAIL PROTECTED] and 
[EMAIL PROTECTED]
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
> [EMAIL PROTECTED] (John Hasler)
> Dancing Horse Hill
> Elmwood, WI
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 
> 



Re: [PPP] Mulitple userids at one ISP

1999-03-25 Thread John Hasler
> 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
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI


Re: [PPP] Mulitple userids at one ISP

1999-03-25 Thread Peter Iannarelli
Jor-el:

Why not try creating separate PPP setups under separate shell accounts.

Peter


Jor-el wrote:

> Hi,
>
> 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? If there
> isnt, I feel irritated enough about this to put in some code to get this
> working the way I want. Please advise.
>
> Regards,
> Jor-el
>
> --
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
begin:vcard 
n:Iannarelli;Peter
tel;fax:1+ 416 929 1056
tel;work:1+ 416 929 1885
x-mozilla-html:FALSE
url:http://www.GenXl.com
org:GenX Internet Labs
adr:;;238a Gerrard St. East;Toronto;ON;M5A 2E8;CA
version:2.1
email;internet:[EMAIL PROTECTED]
title:Senior Engineer
fn:Peter Iannarelli
end:vcard


[PPP] Mulitple userids at one ISP

1999-03-25 Thread Jor-el
Hi,

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? If there
isnt, I feel irritated enough about this to put in some code to get this
working the way I want. Please advise.

Regards,
Jor-el