From owner-freebsd-questions Sun Oct 20 14:43:45 2002 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 8643A37B401 for ; Sun, 20 Oct 2002 14:43:44 -0700 (PDT) Received: from web20106.mail.yahoo.com (web20106.mail.yahoo.com [216.136.226.43]) by mx1.FreeBSD.org (Postfix) with SMTP id 200DE43E88 for ; Sun, 20 Oct 2002 14:43:44 -0700 (PDT) (envelope-from bsdneophyte@yahoo.com) Message-ID: <20021020214343.7987.qmail@web20106.mail.yahoo.com> Received: from [68.65.83.156] by web20106.mail.yahoo.com via HTTP; Sun, 20 Oct 2002 14:43:43 PDT Date: Sun, 20 Oct 2002 14:43:43 -0700 (PDT) From: Bsd Neophyte Subject: Re: FreeBSD version of Linux's "passwd -l" To: Jan Grant Cc: Ceri Davies , freebsd-questions In-Reply-To: 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 --- Jan Grant wrote: > "man pw lock" doesn't do what you think it does. It displays the man > page for pw(8), then the man page for lock(1). hmmm... you're right. thank you. however, i'm still confused about this. this is what i found from the lock option in 'pw' after looking again. -------- USER LOCKING Pw supports a simple password locking mechanism for users; it works by prepending the string `*LOCKED*' to the beginning of the password field in master.passwd to prevent successful authentication. The lock and unlock commands take a user name or uid of the account to lock or unlock, respectively. The -V, -C, and -q options as described above are accepted by these commands. --------- my confusion lies with the fact that, to me at least, this doesn't seem similar to what the "passwd -l" in the fact that the account is still availible to root. they both seem to lock the account... but can someone explain how the account is still used by root if it's locked? __________________________________________________ Do you Yahoo!? Y! Web Hosting - Let the expert host your web site http://webhosting.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message