[Date Prev][Date Next]
Antw: Linux quota problem for LDAP users
>>> Osman ÃNALAN (ULAKBIM)<email@example.com> schrieb am 06.08.2013
19:53 in Nachricht
> 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?
> 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?
> Osman Ãnalan