Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Aug 2004 20:54:12 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Chris Dillon <cdillon@wolves.k12.mo.us>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: 16-character username limit in quotas?
Message-ID:  <20040820015412.GA8165@dan.emsphone.com>
In-Reply-To: <20040819183508.X95665@duey.wolves.k12.mo.us>
References:  <20040819183508.X95665@duey.wolves.k12.mo.us>

next in thread | previous in thread | raw e-mail | index | archive | help
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@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040820015412.GA8165>