[Spacewalk-list] Username 5 Character minimum

Miroslav Suchy msuchy at redhat.com
Mon May 16 23:29:34 UTC 2011


Dne 16.5.2011 22:46, jdfire at cox.net napsal(a):
> Hello All,
>
> I have ran into an issue where I need to create a username that is smaller than 5 characters. I am currently using LDAP to perform authentication and this user is using the same username for other systems. Is there anyway to change this setting within Spacewalk?
>
> I have searched and found a link pointing to Red Hats KB but I am not a customer and unable to reach the KB. If you could post instruction on this mailing list it would be helpful.
>
> Thank you for your time and have a great day!

This variables can be changed in /etc/rhn/rhn.conf

# username/password control (not recommended to change)
min_passwd_len = 5
max_passwd_len = 32
min_user_len   = 3
max_user_len   = 64
max_email_len  = 128
# New usernames
# min_user_len is used for sanity checks on the username upon 
authentication;
# min_new_user_len is the minimum user length for new users
# For legacy reasons, we need two different checks
min_new_user_len = 5

These are the defaults. When you change do not forget to restart all 
services...

Mirek




More information about the Spacewalk-list mailing list