From owner-freebsd-questions Wed Sep 3 13:14:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id NAA04165 for questions-outgoing; Wed, 3 Sep 1997 13:14:56 -0700 (PDT) Received: from awfulhak.demon.co.uk (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id NAA04149 for ; Wed, 3 Sep 1997 13:14:49 -0700 (PDT) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.demon.co.uk (8.8.5/8.8.5) with ESMTP id UAA15139; Wed, 3 Sep 1997 20:55:55 +0100 (BST) Message-Id: <199709031955.UAA15139@awfulhak.demon.co.uk> X-Mailer: exmh version 2.0zeta 7/24/97 To: Antonio Bemfica cc: freebsd-questions@FreeBSD.ORG Subject: Re: exiting shell and PPP security, authentication In-reply-to: Your message of "Wed, 03 Sep 1997 13:57:07 -0300." Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Date: Wed, 03 Sep 1997 20:55:54 +0100 From: Brian Somers Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id NAA04160 Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > My problem: > > 1. Users get a connection established without problems, but: > > 2. When a connection is closed the shell stays open (somehow the shell > does not seem to exit properly when the ppp process dies). In any case, > the tty is tyed up, and the modem will not answer the line anymore - or > even worse, will allow a user to get a ppp connection without any > authentication! Remove the script and make it an alias or a function or something like that. This will get rid of the unnecessary parent shell: $ cat >>.profile < 3. I would prefer not to have to create duplicate accounts for every one > of my users who wishes to connect via ppp (and set the shell of their > ppp accounts to be the script above - this setup never hangs...) and > neither would I like to use the ppp.secret method. $ cat >.profile </home/service < Is there any possible solution to my problem? What am I doing wrong? > > Thanks in advance for any help. > > Antonio > -- -------------------------------------------------------------------------- > Antonio Bemfica, DalTech, Dalhousie U. | Hay épocas hechas para diezmar los > => Support free software, use FreeBSD | rebaños, confundir las lenguas > => http://www.FreeBSD.org | y dispersar las tribus. A.C. > -- Brian , Don't _EVER_ lose your sense of humour....