[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Antw: Linux quota problem for LDAP users
>>> Osman ÃNALAN (ULAKBIM)<osman.unalan@tubitak.gov.tr> schrieb am 06.08.2013
um
19:53 in Nachricht
<1864950379.1603906.1375811600562.JavaMail.root@tubitak.gov.tr>:
>
> 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