From owner-freebsd-questions@FreeBSD.ORG Wed Aug 27 22:02:12 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 ACA7316A4C0 for ; Wed, 27 Aug 2003 22:02:12 -0700 (PDT) Received: from lakemtao05.cox.net (lakemtao05.cox.net [68.1.17.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id 77FEB43FF5 for ; Wed, 27 Aug 2003 22:02:11 -0700 (PDT) (envelope-from micheal@cancercare.net) Received: from dredster ([68.12.67.176]) by lakemtao05.cox.net (InterMail vM.5.01.06.04 201-253-122-130-104-20030726) with SMTP id <20030828050209.FJXS13237.lakemtao05.cox.net@dredster>; Thu, 28 Aug 2003 01:02:10 -0400 Message-ID: <011f01c36d21$8e1931b0$0201a8c0@dredster> From: "Micheal Patterson" To: , "David Banning" References: <20030827175210.GA30966@skytrackercanada.com> Date: Wed, 27 Aug 2003 23:59:33 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 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: Thu, 28 Aug 2003 05:02:12 -0000 ----- Original Message ----- From: "David Banning" To: Sent: Wednesday, August 27, 2003 12:52 PM Subject: how to reset password with nologin shell? > 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. > > -- > _______________________________________________ > 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" As root, you can run passwd to set it to what they request. -- Micheal Patterson Network Administration Cancer Care Network 405-733-2230