Bobcares

DirectAdmin Login Keys are Disabled | Fix it in Simple Steps

by | Sep 14, 2024

The use of login keys, which let users access the control panel without disclosing their passwords, is presently disabled, according to the error notice “Login Keys are disabled” in DirectAdmin. Let’s see different steps in which we can fix this issue easily. At Bobcares, we assist our customers with several queries on a daily basis as part of our DirectAdmin Support Services.

Overview
  1. Understanding “Login Keys are disabled” in DirectAdmin
  2. Various Impacts of the Error
  3. Causes & Fixes of the Error
  4. Error Prevention Steps
  5. Conclusion

Understanding “Login Keys are disabled” in DirectAdmin

What is DirectAdmin?

A web-based control panel called DirectAdmin is used to administer web hosting services. Through a graphical user interface (GUI), administrators and users can manage their databases, email accounts, webpages, and other server functionalities. Since there is no longer a need to manually execute instructions in a terminal, even individuals with less technical expertise may administer servers more easily. The main features include:

1. Website creation and administration including file organization and domain configuration.

2. Email management includes setting up and controlling spam filters, forwarders, and email accounts.

3. Database management control users, permissions, and MySQL databases.

4. Manage user accounts for various user roles, such as administrators, resellers, and end users.

5. Security Settings for improved security. This section offers firewall settings, SSL management, and login credentials.

6. It also facilitates resource monitoring, updates, and backups automatically.

What does the error mean?

Users can access the control panel without disclosing their passwords by using login keys, but this functionality is now disabled, as shown by the error notice “Login Keys are disabled” in DirectAdmin. This can be the result of improperly specified permissions or disabled configuration options. The syntax of the error is as follows:

directadmin login keys are disabled

This means that neither the settings option to enable the login keys feature nor its activation are set.

Various Impacts of the Error

The different effects of the issue are the following:

Access Restrictions: Without exchanging passwords, users are unable to use login keys for secure access, which could make it difficult to collaborate with developers or complete administrative chores.

Security Risks: Users who disable their login keys may share passwords, which raises the possibility of illegal access.

Operational inefficiencies: When tasks requiring administrator access cannot finish quickly, it can be due to the inability to use login keys.

Causes & Fixes of the Error

1. Login Keys Not Enabled in Configuration: The login_keys feature may not be active in the DirectAdmin config file due to incorrect setup or intentional disabling for security.

Fix:

i. Access the server via SSH.

ii. Open the config file with a text editor:

bash

nano /usr/local/directadmin/conf/directadmin.conf

iii. Look for login_keys. If missing, add:

makefile
login_keys=1

iv. If set to 0, change it to 1.

v. Save and restart DirectAdmin:

service directadmin restart

2. User Permissions Not Set Correctly: Users may lack the necessary permissions to use login keys.

Fix:

i. Log into DirectAdmin as an admin.

ii. Navigate to the User Management section.

iii. Check and enable the option for login keys for the specific user.

iv. Save changes and notify the user to try again.

3. Reseller or Admin Settings: Resellers may need to enable login keys even if admins have enabled it at the system level.

Fix:

i. Log into DirectAdmin as a reseller.

ii. Go to Reseller Settings or Account Management.

iii. Enable login keys and save changes.

4. Version Compatibility Issues: Older DirectAdmin versions may not support login keys.

Fix:

i. Log in and check the DirectAdmin version.

ii. Review the changelog on the official website for updates to login keys.

iii. If outdated, update DirectAdmin:

bash

cd /usr/local/directadmin
./directadmin p

iv. After updating, restart DirectAdmin:

service directadmin restart

Error Prevention Steps

We can avoid the issue in future with the following precautions:

1. Periodic Configuration Audits: Verify that all required functionality, including login keys, are enabled by periodically reviewing the directadmin.conf settings.

2. User Education: Teach users and resellers how to control permissions and stress the value of utilizing login keys in order to maintain security.

3. Update Management: To prevent problems with out-of-date functionality, make sure DirectAdmin is up to date with the most recent version.

4. Backup Configuration Files: Make a backup of the configuration files before making any changes so we can easily restore them later.

[Need to know more? Get in touch with us if you have any further inquiries.]

Conclusion

When the login keys capability is not enabled, it affects secure access and administrative effectiveness, resulting in the “Login Keys are disabled” error in DirectAdmin. Version incompatibilities, reseller restrictions, improper user permissions, and misconfigured settings can all contribute to the problem. Activating the login keys in the DirectAdmin configuration file, modifying user permissions, and making sure the system is compatible with the most recent software version are the steps involved in fixing the issue. Maintaining a secure and effective environment requires regular audits of configuration settings, user training on permissions, and updating DirectAdmin to avoid future problems.

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

_reb2bgeo - The visitor's geographical location

_reb2bloaded - Whether or not the script loaded for the visitor

_reb2bref - The referring URL for the visit

_reb2bsessionID - The visitor's RB2B session ID

_reb2buid - The visitor's RB2B user ID

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid
_reb2bgeo, _reb2bloaded, _reb2bref, _reb2bsessionID, _reb2buid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF