Subject: Re: bin/2905: setting environment vars from login
To: Michael Graff <explorer@flame.org>
From: Christian Kuhtz <kuhtz@ix.netcom.com>
List: netbsd-bugs
Date: 10/30/1996 21:01:53
On 30 Oct 1996 22:23:24 -0500, Michael Graff <explorer@flame.org> mumbled:
> Christian Kuhtz <kuhtz@ix.netcom.com> writes:
>
> > All of the above can be accomplished without messing with login and
> > purely by scripting, etc in the shell's rc file, or the system's global
> > master shell rc.
>
> IF the user HAS a shell.

If not, it'll be a binary that is run, and that's what should be doing the  
parsing and interaction with the user.

> IF the user does NOT, the application which is run at login can also parse
> the flags, say, pppd, etc.

Create a binary wrapper for pppd.  That's what's commonly done everywhere.  
However, in many situation you can also launch (exec) a pppd from a login  
shell script.

--
Christian Kuhtz <kuhtz@ix.netcom.com>, office: ckuhtz@paranet.com
Network/UNIX Specialist for Paranet, Inc. http://www.paranet.com/
Supercomputing Junkie, et al               MIME/NeXTmail accepted

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.3ia

mQCNAzJ1JCkAAAEEALzCoYhlxTLI4DID5KpQINF8KM4PUnrZxoL2aRRFAQNX9v9c
8uBySUqVDxfyylB6M/ptUezWIs6DLjz6b8jr8MX40vQf2jU2db6oMDh2axOeXlg2
KCSHryZ9kthnnXOVt0kHLN9XjM9DvwKU28RzvT7umEVmbHFyp64kVG961wkZAAUR
tCVDaHJpc3RpYW4gS3VodHogPGt1aHR6QGl4Lm5ldGNvbS5jb20+iQCVAwUQMnUk
Ka4kVG961wkZAQFztgP+IgHBCz/d1Sc10Qg0Wmu4KnhNb4E4KsPh96V/olwbQS+e
frdWMxSHzX8hGD1p/KbuwlNRrDktmZgVc+n89FGEeGcq3z9WK3o22JsyjJTlzobY
qJIZ5bdOx4dOimQ83ha9zjF+bRnw92t1jC/GJ+LRyOEVMzD5TtL7AMdODO8fNC8=
=sRe0
-----END PGP PUBLIC KEY BLOCK-----