Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


The first question that should be answered when setting the security strategy in SonarQube is: Can anonymous users browse the SonarQube instance or must authentication must be required? To  To force user authentication, log in as a System administrator and go to Settings > General Settings > Security and set the sonar.forceAuthentication property to the Force user authentication property to trueTo allow users to sign up onlinefor a SonarQube account, set the sonar.allowUsersToSignUp Allow users to sign up property to true. 

Creating a User

A user is a set of basic information: login, password, name and email.

To create a new user, go to Setting > Users > Add new user: 



your Password

Log To change your password, log in and go to My_Name > My Profile:

titleLDAP plugin

When the LDAP plugin is installed and activated, it is no longer possible for users to change their password. Then, only system administrators can do so through Settings > Users > Change password. Note that this password is only used when the LDAP server is not reachable and the authentication mechanism fall back to the SonarQube built-in mechanism.

Technical Users

Since SonarQube 4.2, technical users can be set. Technical users are authenticated against SonarQube's own database of users, rather than against any external tool (LDAP, Active Directory, Crowd, etc.).

Similarly, all accounts not flagged as local will be authenticated only against the external tool. By default admin is a technical account. Technical accounts are configured in SONARQUBE_HOME/conf/ in the (default value = admin) property as a comma-separated list.

Default Admin Credentials

When installing SonarQube, a default user with administration privileges Administer System permission is created automatically:

  • Login: admin
  • Password: admin




lost the admin password

In case you lost the admin password of your SonarQube instance, you can reset it by executing the following query: