From owner-freebsd-questions@FreeBSD.ORG Tue Sep 26 15:30:36 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 B97CF16A4D1 for ; Tue, 26 Sep 2006 15:30:36 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (dsl081-227-250.chi1.dsl.speakeasy.net [64.81.227.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id CFE1243D95 for ; Tue, 26 Sep 2006 15:30:18 +0000 (GMT) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.6/8.12.11) with ESMTP id k8QFTrAU080336; Tue, 26 Sep 2006 10:29:55 -0500 (CDT) Message-Id: <6.0.0.22.2.20060926101822.021c39b0@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Tue, 26 Sep 2006 10:29:34 -0500 To: john@cruzweb.net, freebsd-questions@freebsd.org From: Derek Ragona In-Reply-To: <4518BCCE.5050902@cruzweb.net> References: <4518BCCE.5050902@cruzweb.net> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: 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: Tue, 26 Sep 2006 15:30:36 -0000 You can gather the information with a shell script and send the arguments to pw which you can run via sudo. 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. -Derek At 12:38 AM 9/26/2006, John Cruz wrote: >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 >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >-- >This message has been scanned for viruses and >dangerous content by MailScanner, and is >believed to be clean. >MailScanner thanks transtec Computers for their support. > -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support.