Date: Wed, 2 Oct 2002 11:00:09 -0700 (PDT) From: Peter Pentchev <roam@ringlet.net> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/43582: passwd(1) fails on nonexistent users Message-ID: <200210021800.g92I09cS020324@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/43582; it has been noted by GNATS.
From: Peter Pentchev <roam@ringlet.net>
To: Ceri Davies <ceri@FreeBSD.org>
Cc: Dan Pelleg <daniel+gnats@pelleg.org>, bug-followup@FreeBSD.org
Subject: Re: bin/43582: passwd(1) fails on nonexistent users
Date: Wed, 2 Oct 2002 20:57:03 +0300
On Wed, Oct 02, 2002 at 09:30:05AM -0700, Ceri Davies wrote:
> The following reply was made to PR bin/43582; it has been noted by GNATS.
>=20
> From: Ceri Davies <ceri@FreeBSD.org>
> To: Dan Pelleg <daniel+gnats@pelleg.org>
> Cc: freebsd-gnats-submit@FreeBSD.org
> Subject: Re: bin/43582: passwd(1) fails on nonexistent users
> Date: Wed, 2 Oct 2002 17:02:21 +0100
>=20
> On Wed, Oct 02, 2002 at 07:26:50AM -0700, Dan Pelleg wrote:
> =20
> This doesn't seem to be a problem with the current release:
> =20
> {setantae@rhadamanth}-{~} $ uname -sr
> FreeBSD 4.7-RC
> {setantae@rhadamanth}-{~} $ passwd -u root
> passwd: illegal option -- u
A quick look at src/usr.bin/passwd/passwd.c seems to show that the -u
option is only valid for a YP && KERBEROS build of passwd(1). If you
have customized your /etc/make.conf to *not* include MAKE_KERBEROS4=3Dyes,
your passwd(1) will not recognize -u.
Apparently, releases are built with support for both krb4 and krb5, thus
the passwd(1) binary in the official release will recognize -u.
G'luck,
Peter
--=20
Peter Pentchev roam@ringlet.net roam@FreeBSD.org
PGP key: http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553
If you think this sentence is confusing, then change one pig.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210021800.g92I09cS020324>
