Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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!?

share|improve this question
    
Btw. its FreeBSD 8.1 –  Phliplip Oct 17 '10 at 10:53

1 Answer 1

up vote 1 down vote accepted

Install world:

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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