From owner-freebsd-bugs Wed Oct 2 11: 0:12 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DB62537B401 for ; Wed, 2 Oct 2002 11:00:10 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2068343E3B for ; Wed, 2 Oct 2002 11:00:10 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g92I09Co020325 for ; Wed, 2 Oct 2002 11:00:09 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g92I09cS020324; Wed, 2 Oct 2002 11:00:09 -0700 (PDT) Date: Wed, 2 Oct 2002 11:00:09 -0700 (PDT) Message-Id: <200210021800.g92I09cS020324@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Peter Pentchev Subject: Re: bin/43582: passwd(1) fails on nonexistent users Reply-To: Peter Pentchev Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/43582; it has been noted by GNATS. From: Peter Pentchev To: Ceri Davies Cc: Dan Pelleg , 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 > To: Dan Pelleg > 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