How to change password policy settings for SUSE Manager

This document (000020920) is provided subject to the disclaimer at the end of this document.


SUSE Manager 4.x


For SUSE Manager 4.x releases the default number of characters for user passwords in the WebUI is limited to 32. In case there is a requirement for passwords longer than 32 characters, /etc/rhn/rhn.conf needs to be adjusted.


A number of settings for /etc/rhn/rhn.conf allow changing the password policy for the WebUI, the defaults are currently set to:
min_passwd_len = 5
max_passwd_len = 32
min_user_len   = 3
max_user_len   = 64
max_email_len  = 128
In order to change the password policy, the options above need to be entered into /etc/rhn/rhn.conf with the desired values. Run
spacewalk-service restart
afterwards to activate the changes. 


This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000020920
  • Creation Date: 16-Jan-2023
  • Modified Date:17-Jan-2023
    • SUSE Manager Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center