From owner-freebsd-questions@FreeBSD.ORG Wed Sep 27 08:27:56 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF94416A403 for ; Wed, 27 Sep 2006 08:27:56 +0000 (UTC) (envelope-from nvass@teledomenet.gr) Received: from matrix.teledomenet.gr (dns1.teledomenet.gr [213.142.128.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5636643D45 for ; Wed, 27 Sep 2006 08:27:55 +0000 (GMT) (envelope-from nvass@teledomenet.gr) Received: from iris ([192.168.1.71]) by matrix.teledomenet.gr (8.12.10/8.12.10) with ESMTP id k8R8RUEY028585; Wed, 27 Sep 2006 11:27:30 +0300 From: Nikos Vassiliadis To: freebsd-questions@freebsd.org Date: Wed, 27 Sep 2006 11:24:19 +0300 User-Agent: KMail/1.9.1 References: <4518BCCE.5050902@cruzweb.net> <6.0.0.22.2.20060926101822.021c39b0@mail.computinginnovations.com> In-Reply-To: <6.0.0.22.2.20060926101822.021c39b0@mail.computinginnovations.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200609271124.19682.nvass@teledomenet.gr> Cc: john@cruzweb.net, Derek Ragona Subject: Re: Creating New Users over Telnet/SSH X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Sep 2006 08:27:57 -0000 On Tuesday 26 September 2006 18:29, Derek Ragona wrote: [snip] > However you will need to replace the normal process running the login > (telnetd or sshd) and pass the login information to that daemon or > create a new user depending on the input data. No, you can force a default shell without modifications. Check out login.conf(5) and shell variable. However, the original post implies little FreeBSD experience. Why do you want to automate such a procedure? You said it's going to be for a networking class, that is a limited a number of users, right? sdf is a public access Unix system and has to do this automatically, you don't have to. smj@sdf.lonestar is a seasoned administrator, who has tampered the OS in a number of ways. Just my 2 cents, Nikos