Date: Wed, 2 Jan 2002 21:01:46 -0800 (PST) From: Thomas Cannon <tcannon@noops.org> To: questions <freebsd-questions@FreeBSD.ORG> Subject: Re: Change password Message-ID: <20020102205728.C381-100000@stereophonic.noops.org> In-Reply-To: <02010314394203.02042@BAPhD.gihon.org.au>
next in thread | previous in thread | raw e-mail | index | archive | help
> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020102205728.C381-100000>