[root@hostname] su - long_user_name
3004-614 Unable to change directory to "".
You are in "/home/guest" instead.
Testing
There is a limitation on the length or the username in AIX 5.2 and earlier and does not support increasing the maximum user name length.
Rename the user in AD to a name of eight characters or less.
To increase the max username length on AIX 5.3 and higher, use the following syntax:
# chdev - l sys0 -a max_logname=MaxUserNameLength+1
Example:
# chdev - l sys0 -a max_logname=255
This command allocates 254 characters for the user and 1 for the terminating null.
The safest value that you can set max_logname
to is 255
.
You must reboot for the changes to take effect:
# shutdown - Fr
Note: This applies to both user and group names as they both refer to the same configuration option for their maximum length.
Note: Applying AIX Maintenance patches may reset these changes.
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center