From owner-freebsd-questions@FreeBSD.ORG Sun Oct 18 12:13:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6D16106566C for ; Sun, 18 Oct 2009 12:13:06 +0000 (UTC) (envelope-from miklosovic.freebsd@gmail.com) Received: from mail-fx0-f210.google.com (mail-fx0-f210.google.com [209.85.220.210]) by mx1.freebsd.org (Postfix) with ESMTP id 31ADB8FC15 for ; Sun, 18 Oct 2009 12:13:05 +0000 (UTC) Received: by fxm6 with SMTP id 6so3846787fxm.43 for ; Sun, 18 Oct 2009 05:13:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=OtnIboWiOhC/Gbxr56zsOz4M6WLbiQDVMy2YwjKhs3c=; b=dM2tiyTo0PfeRluDKoyEWRHeqO+JVHZXp686QiyCc5jlPEeboRj7hOl0fQYEtc4MHZ KhX9BZrBEhBzYP1Fph5/d+jV0/nBItGe7Qpz5pMsbuGfZoFXYYXGqEAT9aRzrcWJBKZe VXoNrhVnCdqzfeujFHgX3fVreRM2tfInKh/QI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ZgHiQJNa5Ivg9xtABF21EYxKCoqdGHL+jLAxh+0JYlNrel1kPuDaNJmAfwt5sFZxAy rFELOVjWzjB+/8QaKiRM9qdZxKKEtsc4204EftbDEvBDwchSss2JBUAIk/9xlENwRhPB 7tKk4bca1D0F3is53aqV1Gc5QVvLwE7yZJdEg= MIME-Version: 1.0 Received: by 10.102.193.20 with SMTP id q20mr1614100muf.28.1255867985047; Sun, 18 Oct 2009 05:13:05 -0700 (PDT) Date: Sun, 18 Oct 2009 14:13:05 +0200 Message-ID: From: Stefan Miklosovic To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: strange quota behaviour X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Oct 2009 12:13:06 -0000 hi list, I am going to add user "test" in system: ~/:sudo pw useradd test -m then, I am going to check quotas ~/:sudo quota -u -v test Disk quotas for user test (uid 2022): Filesystem usage quota limit grace files quota limit grace /home 36 0 0 9 0 0 Now, I am going to add another user, named "12345" ~/:sudo pw useradd 12345 -m Password for '12345' is: qdmjPx4YVP then, I am going to check quotas ~/:sudo quota -u -v 12345 Disk quotas for user (no account) (uid 12345): Filesystem usage quota limit grace files quota limit grace /home 0 0 0 0 0 0 Please, note that in quota output for user 12345, it says, there is no such user > Disk quotas for user (no account) (uid 12345): if I do this: ~/odoslat:sudo pw useradd m12345 -m Password for 'm12345' is: 8bqhCfMjZREr5D8 ~/odoslat:sudo quota -u -v m12345 Disk quotas for user m12345 (uid 2024): Filesystem usage quota limit grace files quota limit grace /home 36 0 0 9 0 0 everything is fine. So question, I am able to create user 12345, but I cant set quotas for him? Isn't this a bug? FreeBSD notebook 7.2-STABLE FreeBSD 7.2-STABLE #0: Thu Oct 15 22:38:28 CEST 2009 root@notebook:/usr/obj/usr/src/sys/NOTEBOOK i386 thank you