16-character username limit in quotas?

Dan Nelson dnelson at allantgroup.com
Thu Aug 19 18:54:13 PDT 2004


In the last episode (Aug 19), Chris Dillon said:
> I've just run into a 16-character username limit in our quota
> support, or at least in the edquota command itself (5-CURRENT):
> 
> edquota -u -e /afilesystem:614400:716800:4000:5000 areallylongusername
> edquota: areallylongusern: no such user
> 
> Does anybody know what would it take to raise this limit to at least
> 32 characters?

Try bumping MAXLOGNAME in /usr/include/sys/param.h and UT_NAMESIZE in
/usr/include/utmp.h and rebuilding world.

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list