Unable to limit disk quota if loginname is number eg. 555555 not s555555

Dan Nelson dnelson at allantgroup.com
Mon Nov 8 21:48:00 PST 2004


In the last episode (Nov 08), tip said:
> I have two kinds of user accounts, one is all number like '555555'
> and another is all alphabet like 'joesmith'. I've tried to run
> edquota to limit disk quota for those kinds of user accounts. When I
> execute quotacheck I got this result for username '555555'
>  
> #quota 555555 
> Disk quotas for user (no account) (uid 555555) : none 
>  
> Thus I can't limit quota if the username is number. However, quota
> works fine for alphabetical username. How can I limit quota if its
> username is numeric?

Try using the uid for user "555555".  I don't think all-numeric
usernames are supposed to be allowed unless they match the uid.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list