From owner-freebsd-questions Sat Oct 19 13: 1:55 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 C096A37B401 for ; Sat, 19 Oct 2002 13:01:53 -0700 (PDT) Received: from web20109.mail.yahoo.com (web20109.mail.yahoo.com [216.136.226.46]) by mx1.FreeBSD.org (Postfix) with SMTP id 7169643E3B for ; Sat, 19 Oct 2002 13:01:53 -0700 (PDT) (envelope-from bsdneophyte@yahoo.com) Message-ID: <20021019200153.51565.qmail@web20109.mail.yahoo.com> Received: from [68.65.83.156] by web20109.mail.yahoo.com via HTTP; Sat, 19 Oct 2002 13:01:53 PDT Date: Sat, 19 Oct 2002 13:01:53 -0700 (PDT) From: Bsd Neophyte Subject: Re: FreeBSD version of Linux's "passwd -l" To: Ceri Davies Cc: freebsd-questions@freebsd.org In-Reply-To: <20021019152619.GA9464@submonkey.net> 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 this is what i pulled from the 'pw' man page about the 'lock' option. to me, it doesn't seem as if they do the same thing. --------- DESCRIPTION The lock utility requests a password from the user, reads it again for verification and then will normally not relinquish the terminal until the password is repeated. There are two other conditions under which it will terminate: it will timeout after some interval of time and it may be killed by someone with the appropriate permission. ---------- whereas the linux version states that it makes the account available for root only. ---------- -l This option is used to lock the specified account and it is available to root only. The locking is performed by rendering the encrypted password into an invalid string (by prefixing the encrypted string with an !). ---------- --- Ceri Davies wrote: > On Sat, Oct 19, 2002 at 08:17:53AM -0700, Bsd Neophyte wrote: > > > > i'm following a pretty decent IBM tutorial on how to setup a samba > PDC. > > in the tutorial the following command is mentioned: > > > > passwd -l > > pw lock [user] > > Check the pw manpage. > > Ceri > > -- > you can't see when light's so strong > you can't see when light is gone __________________________________________________ Do You Yahoo!? Yahoo! Autos - Get free new car price quotes http://autos.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message