Can someone give me the complete process to change FreeBSD from a 16 char max to 64 char max on unsername length?

Essentially this is to add some support for Virtualmin/Webmin.

Inspired from http://forums.freebsd.org/showthread.php?t=1447 I tried the following:

Changed in /usr/src/sys/sys/param.h

#define MAXLOGNAME      65              /* max login name length (incl. NUL) */

Changed in /usr/src/include/utmp.h

#define UT_NAMESIZE     64      /* see MAXLOGNAME in <sys/param.h> */

Ran

# cd /usr/src
# make buildworld

And now

# adduser

Still reports too long username!?

link|improve this question

Btw. its FreeBSD 8.1 – Phliplip Oct 17 '10 at 10:53
feedback

1 Answer

up vote 1 down vote accepted

Install world:

# make installworld
link|improve this answer
1  
Ahh... OK :) thx! – Phliplip Oct 17 '10 at 12:38
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.