hi again, I correct my post, of course I can set quotas for that user, by setquota command, but I cant see quotas for that user, only by repquota.
I need to see it by quota command because I write a script where I depend on it. On Sun, Oct 18, 2009 at 2:13 PM, Stefan Miklosovic < miklosovic.free...@gmail.com> wrote: > 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 r...@notebook:/usr/obj/usr/src/sys/NOTEBOOK i386 > > thank you > > > _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"