Quota problems with nummeric Usernames

Götz Reinicke goetz.reinicke at filmakademie.de
Fri Apr 27 07:55:49 UTC 2007


Good morning,

we run several Redhat Linux servers and recently we noticed, that some
of our users do have a problem with their quota.

We changed our policy for the students username to be their registration
number; e.g. 0306025. We create the accounts and set the quota by the
tool webmin (www.webmin.com), which uses setquota for handling quotas.

Now some users do get problems with there quota. Some quotas are set,
some users do have unlimeted space.

For users having unlimited space, I can't set the quota from within
webmin, but doing an edquota, the quota shows 0 blocks used even if
there is space used and the soft and hard limits are set to the limit I
set by webmin.

An other strange thing is, that the edquota command shows a strange uid
which isn't the same as in the /etc/passwd-file.


  repquota -a|grep 0306025
0306025   --  242144  307200  665600            106     0     0

  edquota 0306025
Disk quotas for user 0306025 (uid 101397):
  Filesystem   blocks       soft       hard     inodes     soft     hard
  /dev/sda6         0          0          0          0        0        0

grep 0306025 /etc/passwd
0306025:x:787:503:Amelie Kuester:/home/studenten/0306025:/sbin/nologin


after doing

setquota -u 0306025 102411 204811 600 610 -a

edquota shows:

Disk quotas for user 0306025 (uid 101397):
   Filesystem  blocks       soft       hard     inodes     soft     hard
   /dev/sda6        0     102411     204811          0      600      610


But for a completly different uid.

and repquota -a|grep 0306025
0306025   --  242144  307200  665600            106     0     0


Any ideas?

Thanks a lot and best regards!

Götz
-- 
Götz Reinicke
IT Koordinator

Tel. +49 7141 969 420
Fax  +49 7141 969 55 420
E-Mail goetz.reinicke at filmakademie.de

Filmakademie Baden-Württemberg GmbH
Mathildenstr. 20
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016
Vorsitzender des Aufsichtsrats:
Dr. Christoph Palmer, MdL, Minister a.D.

Geschäftsführer:
Prof. Thomas Schadt





More information about the redhat-list mailing list