From owner-freebsd-questions Wed Jan 2 21: 1:49 2002 Delivered-To: freebsd-questions@freebsd.org Received: from stereophonic.noops.org (adsl-63-195-97-84.dsl.snfc21.pacbell.net [63.195.97.84]) by hub.freebsd.org (Postfix) with SMTP id 26D2037B41A for ; Wed, 2 Jan 2002 21:01:46 -0800 (PST) Received: (qmail 628 invoked by uid 1000); 3 Jan 2002 05:01:46 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 3 Jan 2002 05:01:46 -0000 Date: Wed, 2 Jan 2002 21:01:46 -0800 (PST) From: Thomas Cannon To: questions Subject: Re: Change password In-Reply-To: <02010314394203.02042@BAPhD.gihon.org.au> Message-ID: <20020102205728.C381-100000@stereophonic.noops.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > root# passwd fooflock > > Changing local password for fooflock. > > New password: > > Retype new password: > > passwd: updating the database... > > passwd: done > > root# > > > > Better yet, man passwd :-) > > Strange - I tried everything I could think of to discover your simple > answer - including man passwd. Obviously I didn't understand you could > do this without knowing the stored password - the docs referred to the > encrypted version. I even tried yppasswd ! Just because I like to point out other ways of accomplishing the same thing (in case it proves useful one day), you could always use 'vipw' and just empty out the password string. Then you could log in w/o a password, and change it as the regular user. But hey, whatever. -tcannon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message