From owner-freebsd-questions@FreeBSD.ORG Tue Sep 26 05:38:33 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 EC31916A416 for ; Tue, 26 Sep 2006 05:38:33 +0000 (UTC) (envelope-from john@cruzweb.net) Received: from sccrmhc12.comcast.net (sccrmhc12.comcast.net [63.240.77.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9876C43D5A for ; Tue, 26 Sep 2006 05:38:31 +0000 (GMT) (envelope-from john@cruzweb.net) Received: from [127.0.0.1] (c-68-61-214-252.hsd1.mi.comcast.net[68.61.214.252]) by comcast.net (sccrmhc12) with ESMTP id <20060926053820012002g51ie>; Tue, 26 Sep 2006 05:38:30 +0000 Message-ID: <4518BCCE.5050902@cruzweb.net> Date: Tue, 26 Sep 2006 01:38:22 -0400 From: John Cruz Organization: Cruz Web Development User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Creating New Users over Telnet/SSH X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: john@cruzweb.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Sep 2006 05:38:34 -0000 So a friend of mine is interested in creating a FreeBSD telnet/SSH box for people in his networking class to screw with. He said he wants to do something like what happens when you telnet into sdf.*lonestar.org *and if you're a new user you just type new and go from there, but I've never done this or looked into it, so I was wondering if any of you had any ideas on how to do this. Basically, User telnets to the server. if they have a username and password, they put it in. If they don't, then they are taken to a place where they can create a new account (on lonestar, it says it's taking you to a "NEWUSER mkacct server" to do this then asks me to put in FEP commands for creating shell accounts) It gives you the options and disclaimer and such and you have to agree then choose a username. Then it asks you more questions like zip code and password and such and it finally creates your user account, you can then log in to the system. Lonestar is using netBSD, we are going to use FreeBSD 6.1 Any info on how to accomplish this is greatly appreciated. -John Cruz