From owner-freebsd-questions@FreeBSD.ORG Mon Aug 25 14:07:05 2003 Return-Path: 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 A934C16A4BF for ; Mon, 25 Aug 2003 14:07:05 -0700 (PDT) Received: from remt22.cluster1.charter.net (remt22.cluster1.charter.net [209.225.8.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0812343F3F for ; Mon, 25 Aug 2003 14:07:05 -0700 (PDT) (envelope-from chowse@charter.net) Received: from [66.168.145.25] (HELO moe) by remt22.cluster1.charter.net (CommuniGate Pro SMTP 4.0.6) with ESMTP id 135637488 for freebsd-questions@freebsd.org; Mon, 25 Aug 2003 17:07:01 -0400 From: "Charles Howse" To: Date: Mon, 25 Aug 2003 16:06:54 -0500 Message-ID: <002e01c36b4c$cfe78910$04fea8c0@moe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: <20030825205300.GK2947@submonkey.net> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: RE: Using chpass X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Aug 2003 21:07:05 -0000 > > Can someone please set me straight? >=20 > chpass -a "toor::0:0::0:0:Nobody Important:/root:/sbin/nologin" toor Ahaaa! The quotes! Thank you! > Note, however, that you're setting the password for this user=20 > to a null > password, allowing any local user in wheel to "su -m toor" if you have > added /sbin/nologin to /etc/shells. Understood, if I wanted to keep the same password.....wait a minute....what is the default password for toor? If I wanted to insert a new password, I'd have to use crypt, and paste the encrypted password into the proper field, correct? Proper syntax? Crypt newpassword...? I read the crypt/enigma man page and did: # crypt newpassword (Nothing............................................) ^C #