From owner-cvs-all Sat Feb 8 0: 4:57 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FC4237B405; Sat, 8 Feb 2003 00:04:54 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B20FE43F3F; Sat, 8 Feb 2003 00:04:53 -0800 (PST) (envelope-from adrian@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h1884rbv093141; Sat, 8 Feb 2003 00:04:53 -0800 (PST) (envelope-from adrian@repoman.freebsd.org) Received: (from adrian@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h1884rFt093140; Sat, 8 Feb 2003 00:04:53 -0800 (PST) Message-Id: <200302080804.h1884rFt093140@repoman.freebsd.org> From: Adrian Chadd Date: Sat, 8 Feb 2003 00:04:53 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org, legacy-committers@FreeBSD.org Subject: cvs commit: src/usr.sbin/adduser adduser.sh X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG adrian 2003/02/08 00:04:53 PST Modified files: usr.sbin/adduser adduser.sh Log: Change the behaviour of adduser to match the previous incarnation a little more. If any of the given groups do not exist complain and let the user try again. This saves the user from discovering at the end of the process that they've forgotten to add a group or they've typoed. Thanks to cmc/dougb for pointing out how bad my sh fu actually is. Original code by: me Scary sh rewrite by: dougb Reviewed by: dougb Revision Changes Path 1.10 +26 -2 src/usr.sbin/adduser/adduser.sh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message