AIX Long Usernames: Difference between revisions

From UNIX Systems Administration
Jump to navigation Jump to search
No edit summary
 
Line 3: Line 3:


# To retrieve current value of usernames and groupnames.
# To retrieve current value of usernames and groupnames.
## <tt>'''# lsattr -El max_logname'''</tt>
#: <tt>'''# lsattr -El max_logname'''</tt>
# To set the value of username and groupname length.
# To set the value of username and groupname length.
## <tt>'''# chdev -l sys0 -a max_logname=<range 8-255>'''</tt>
#: <tt>'''# chdev -l sys0 -a max_logname=<range 8-255>'''</tt>
# A reboot of the system is required to apply the changes.
# A reboot of the system is required to apply the changes.



Latest revision as of 21:07, 13 December 2017

Enabling Long Usernames

The user and group name length limit from 8 to 255. The name length limitation is retrievable and configurable both pro-grammatically and through commands.

  1. To retrieve current value of usernames and groupnames.
    # lsattr -El max_logname
  2. To set the value of username and groupname length.
    # chdev -l sys0 -a max_logname=<range 8-255>
  3. A reboot of the system is required to apply the changes.

Further Reading

  1. Long Username & groupname support in AIX