From owner-freebsd-current Mon Jan 4 13:09:57 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA05309 for freebsd-current-outgoing; Mon, 4 Jan 1999 13:09:57 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from schizo.cdsnet.net (schizo.cdsnet.net [204.118.244.32]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA05300; Mon, 4 Jan 1999 13:09:55 -0800 (PST) (envelope-from mrcpu@internetcds.com) Received: from localhost (mrcpu@localhost) by schizo.cdsnet.net (8.8.8/8.7.3) with SMTP id NAA07638; Mon, 4 Jan 1999 13:05:12 -0800 (PST) Date: Mon, 4 Jan 1999 13:05:12 -0800 (PST) From: Jaye Mathisen X-Sender: mrcpu@schizo.cdsnet.net To: dannyman cc: Ryan Duda , freebsd-current@FreeBSD.ORG, port@FreeBSD.ORG Subject: qmail not-installable -- wasRe: (pw) command hanging in -C. In-Reply-To: <19990104143433.B16326@enteract.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG The current port of qmail will not install on a very recent -current box (fresh install), if the qmail users do not already exist. For me, pwd_mkdb -C is hanging, hence pw never returns. If you kill the pwd_mkdb, then the line is added to the master.passwd file, and running pwd_mkdb manually will get it intot he proper .db files. Running the exact command from the command line works fine. I don't know what this "read a string from stdin" mumbojumbo is from, pw certainly doesn't read anything from stdin that I know of. It can be forced to read a password from a different file descriptor, but that's not the case here. On Mon, 4 Jan 1999, dannyman wrote: > On Mon, Jan 04, 1999 at 02:06:57PM -0500, Ryan Duda wrote: > > > Is there a reason why "pw usermod username -h 0" would be hanging? This > > seems to work fine in 2_2-STABLE. > > If you're running 2.2, then this question is not apropos to -current. Try > -questions next time. > > How is it hanging? You do understand that it will attempt to read a string > from stdin to set the password to, ya? If it is hanging, most likely you have > another pwd_mkdb running around somewhere, or you are running a script with > does not properly pass it the password. > > Why are you using pw to set a user password anyway? passwd does a fine job of > it, imho. ;) > > -danny > > -- > ___ http://www.dannyland.org/~dannyman/ dannyman yori aiokomete > /___\ University of Illinois: Our Honored Symbol Merits Honored Retirement > (o\ | /o) // Beetles and Amigas - I'm a sucker for outdated, unsupported > U"""""U \\/ hardware which has retained it's unique personality and grace. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message