Checks when creating or renaming a user may be too restrictive for some environments


When creating or renaming a BoKS user, mkbks, modbks and the corresponding functions in boks_bccasd check that the name only contains certain allowed characters. The default permitted characters ('A'-'Z', 'a'-'z', '0'-'9', '-', and '_') are too restrictive for some environments. The mkbks/modbks option -F relaxes the tests but does not affect boks_bccasd, and may be considered too permissive in some circumstances.

Resolution / Workaround

Install the hotfix HFBM-0042, available from the HelpSystems Community Portal, on your Master and failover Master, as required. Once this hotfix is applied, the username check in boks_bccasd and the default checks (without -F) in mkbks and modbks use the $BOKS_etc/ENV variable LOGIN_SPECIAL_CHARS. This variable should be set to the special characters that are to be allowed in usernames, besides upper and lower case letters, and digits. If not set in ENV, the default is dash (-) and underscore (_), as before.

Note that the following characters are not allowed in usernames regardless of whether they are set in LOGIN_SPECIAL_CHARS: space, colon, and comma.

See also

Still have questions? We can help. Submit a case to Technical Support.

Last Modified On: May 25, 2018