From owner-freebsd-stable Mon Dec 20 11:39:53 1999 Delivered-To: freebsd-stable@freebsd.org Received: from workhorse.iMach.com (workhorse.iMach.com [206.127.77.89]) by hub.freebsd.org (Postfix) with ESMTP id 429CD14CCA for ; Mon, 20 Dec 1999 11:39:50 -0800 (PST) (envelope-from forrestc@workhorse.iMach.com) Received: from localhost (forrestc@localhost) by workhorse.iMach.com (8.8.8/8.8.8) with SMTP id MAA16506; Mon, 20 Dec 1999 12:32:24 -0700 (MST) Date: Mon, 20 Dec 1999 12:32:24 -0700 (MST) From: "Forrest W. Christian" To: "Chuck O'Donnell" Cc: stable@FreeBSD.ORG Subject: Re: edquota problem In-Reply-To: <19991220135736.B20394@bus.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 20 Dec 1999, Chuck O'Donnell wrote: > I'm not sure what the best answer is for the long term. Would a perl > one-liner help the immediate need? e.g., > > edquota -p usrtmpl `perl -e '$u=getpwnam($ARGV[0]);print "$u-$u"' 2-xhibit` You know, every once in a while someone comes up with a solution I look at and say to myself "Duuuuuuh!" I already have the uid available. (This is being ran from a custom perl add-user script). I will fix my script accordingly. That will be more reliable than the username anyways. However, this might be something someone should look at fixing long-term. Who "owns" this code? And/or where should this be discussed? - Forrest W. Christian (forrestc@imach.com) KD7EHZ ---------------------------------------------------------------------- iMach, Ltd., P.O. Box 5749, Helena, MT 59604 http://www.imach.com Solutions for your high-tech problems. (406)-442-6648 ---------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message