Date: 19 Oct 2002 21:16:24 +0100 From: Tom Carrick <knyghtmare@knyghtmare.com> To: Bsd Neophyte <bsdneophyte@yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD version of Linux's "passwd -l" Message-ID: <1035058584.398.50.camel@knyghtmare.com> In-Reply-To: <20021019200153.51565.qmail@web20109.mail.yahoo.com> References: <20021019200153.51565.qmail@web20109.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-0Jkkeyd43wfAuzs36wTd Content-Type: text/plain Content-Transfer-Encoding: quoted-printable That's from the lock(1) man page, not the pw(8) man page. the relevant section from the pw man page is as follows: 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. On Sat, 2002-10-19 at 21:01, Bsd Neophyte wrote: >=20 > this is what i pulled from the 'pw' man page about the 'lock' option. >=20 > to me, it doesn't seem as if they do the same thing. >=20 > --------- > 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. > ---------- >=20 > whereas the linux version states that it makes the account available for > root only. >=20 > ---------- > -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 !).=20 > ---------- >=20 >=20 > --- Ceri Davies <setantae@submonkey.net> wrote: > > On Sat, Oct 19, 2002 at 08:17:53AM -0700, Bsd Neophyte wrote: > > >=20 > > > i'm following a pretty decent IBM tutorial on how to setup a samba > > PDC.=20 > > > in the tutorial the following command is mentioned: > > >=20 > > > passwd -l > >=20 > > pw lock [user] > >=20 > > Check the pw manpage. > >=20 > > Ceri > >=20 > > --=20 > > you can't see when light's so strong > > you can't see when light is gone >=20 >=20 > __________________________________________________ > Do You Yahoo!? > Yahoo! Autos - Get free new car price quotes > http://autos.yahoo.com >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message >=20 --=-0Jkkeyd43wfAuzs36wTd Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQA9sb2YRhxQpFRYpjsRAjydAKC91j1t17bkqJGIMqFwzKH82OpYbQCcD8is a9zhP9QlM7ZbHDRkOvg9VYU= =tSCe -----END PGP SIGNATURE----- --=-0Jkkeyd43wfAuzs36wTd-- 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?1035058584.398.50.camel>