From owner-freebsd-questions@FreeBSD.ORG Wed Aug 27 10:56:58 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 4E3DE16A4BF for ; Wed, 27 Aug 2003 10:56:58 -0700 (PDT) Received: from remt26.cluster1.charter.net (remt26.cluster1.charter.net [209.225.8.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id A656A43FE1 for ; Wed, 27 Aug 2003 10:56:56 -0700 (PDT) (envelope-from chowse@charter.net) Received: from [66.168.145.25] (HELO moe) by remt26.cluster1.charter.net (CommuniGate Pro SMTP 4.0.6) with ESMTP id 133946674; Wed, 27 Aug 2003 13:56:48 -0400 From: "Charles Howse" To: "'David Banning'" , Date: Wed, 27 Aug 2003 12:56:40 -0500 Message-ID: <006601c36cc4$91fe2e50$04fea8c0@moe> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 In-Reply-To: <20030827175210.GA30966@skytrackercanada.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: RE: how to reset password with nologin shell? 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: Wed, 27 Aug 2003 17:56:58 -0000 > If I have a user that has a nologin shell and they forget > thier password, is there a way to give them a new password? > > Right now I am resetting their password to nil, then > giving them a shell like /bin/sh, logging in on their behalf, > setting up a password, and then changing their shell back > to /bin/nologin. > > I would like to elliminate the noshell to shell and then > back to noshell part. # passwd