Usernames longer than 16 characters?
-
Hi,
is it possible to have users with a username longer than 16 characters? on the gui everything looks ok, but when I add the user on the logs I can seephp: /system_usermanager.php: The command '/usr/sbin/pw userdel ***LOONGNAME*** -r' returned exit code '65', the output was 'pw: name too long `ric******' (max is 16)'
Is this a freebds limit? If so, maybe the gui shouldn't let us input longer names
(I couldn't find the log for the user add, but it is not created!)
thanks
-
Thanks for catching that. I commited a fix: https://rcs.pfsense.org/projects/pfsense/repos/mainline/commits/94d455da18258787132860d8ee203a3523a7d9b3
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.