Adding 32 Character logins to 9.0

Previous to FreeBSD 9, we have always been able to modify

Code:
/usr/src/sys/sys/param.h MAXLOGNAME = 32
/usr/src/include/utmp.h UT_NAMESIZE = 33

Recompile and install and good to go, however utmp.h has been deprecated in 9 for utmpx.h which offers no similar variable to edit?

Is it safe to simply modify my param.h in 9, or is there someplace else UT_NAMESIZE is supposed to be modified?

Tthanks in advance,
-m
 
Apparently editing the param.h is no longer effective either? By any chance you wouldn't actually know how to enable long username support in 9.0 Release by any chance sir?
 
Can you please explain what you did exactly? For example, did you do:

- edit /usr/src/sys/sys/param.h, increased MAXLOGNAME to 33
- rebuild and reinstall world
- add a user with a long username
- try to log in locally or using SSH?

It's a bit hard for me to guess.
 
- edit /usr/src/sys/sys/param.h, increased MAXLOGNAME to 33
- rebuild and reinstall world
- tried to su to an existing user with a long username that was created under 8.2 before upgrade to 9
 
Also for some reason /usr/include/sys/param.h has maxlogname set to 17 but a read only file, so I don't know if it's necessary to edit that as well?
 
I was just able to ssh in as that user, but su still doesn't work. Must just be a bug with su, my bad for bothering your time sir. Thanks for taking the time to help a fellow brother out though! Much appreciated!
 
Back
Top