Hi Ulrich,
I knew we can not create numbered users in UNIX but ldap does, and also repquota can see these users. So there must have been a workaround for this, I was asking for that. Then I solved the problem via "quotatool", it set quotas for appropriate users .
Thanks! Osman Ünalan
----- Orijinal Mesaj -----
Hi,
I'm trying to set quotas for LDAP users on a Linux server. But all the users' name begins with number and when I try to set quota for a user like "123456" it sets a quota for "#123456"
There is a reason why user _names_ in UNIX don't start with a digit, just as variable names don't start with a digit. How should a program like chown know you use a UID or a user name?
Regards, Ulrich
I set quota like this:
setquota -u 123456 1500 1500 0 0 -a
repquota output is like:
user used soft hard grace used soft hard grace
123456 -- 500 0 0 100 0 0
# 123456 -- 0 1500 1500 0 0 0
That's why the quota I set applies to non existing user named #123456.
Does anyone know how can I fix that?
Thanks, Osman Ünalan