strange quota behaviour
Stefan Miklosovic
miklosovic.freebsd at gmail.com
Sun Oct 18 12:13:06 UTC 2009
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 at notebook:/usr/obj/usr/src/sys/NOTEBOOK i386
thank you
More information about the freebsd-questions
mailing list