Pricing  Get Quote
 
 

Knowledge Base

Linux password reset

Overview

IT admins often face surges in Linux password reset and account unlock requests, which hamper productivity. ADSelfService Plus streamlines this by allowing users to reset their Active Directory (AD) domain passwords directly from their Linux login screen, leveraging Linux AD integration. This ensures secure, self-service access for users in Linux-based Active Directory environments.

With ADSelfService Plus, users perform self-service password reset from:

  1. The logon screens of their Windows, Linux, or macOS machines.
  2. Web browsers by accessing the ADSelfService Plus portal, which can be configured to be accessed through all major web browsers.
  3. Their mobile devices by accessing the ADSelfService Plus iOS or Android mobile app or mobile site.
  4. Their private networks, even remotely. Furthermore resetting their passwords, ADSelfService Plus also lets users update their cached credentials.

Prerequisites

  1. The ADSelfService Plus login agent needs to be installed on Linux systems. Administrators can deploy it either through:
    • The ADSelfService Plus admin console, or
    • Manual installation on individual machines.
  2. End users must be enrolled in ADSelfService Plus before using self-service features. Enrollment is a one-time setup where users provide their mobile number, email ID, and responses to security questions, along with other required details, to activate self-service password management.

Steps to perform Linux password reset

Steps to reset Linux password using command line

One way to reset a forgotten Linux password is by using the GRUB bootloader. This method requires booting into single-user or recovery mode and running commands to update the password. Follow these steps:

  1. Open the GRUB menu: GRUB (GNU GRUB bootloader) is the default bootloader for most Linux systems. Restart or power on your machine, and as soon as the boot process starts, hold down the Shift key to display the GRUB menu.
  2. Switch to Edit Mode: Before the system boots, select the default boot option (usually the first one listed) using the arrow keys. Press E to edit the boot entry.
  3. Adjust the boot parameters: To access single-user mode, you need to tweak the boot parameters:
    • Locate the line beginning with linux or linux16.
    • Find the parameter ro quiet, change ro to rw, and add the command single or init=/bin/bash at the end (depending on your distribution).
    • Press Ctrl + X or F10 to boot with these changes.
  4. Remount the root filesystem with write access: Since the system may load in read-only mode, enable write access with the command:

    mount -n -o remount,rw /

  5. Change the user password: Use the passwd command to reset the password. Replace username with the account you're updating:

    passwd username

  6. Enter the new password twice when prompted.
  7. Reboot the machine: Once the password is updated, reboot the system to return to normal operation:

    sync

    reboot -f

  8. The new credentials should now work, allowing you to log in with the updated password.

Steps to reset Linux password using ADSelfService Plus

  1. ADSelfService Plus places a Reset Password/Unlock Account link (also called the login agent) on the login screen of Linux OS machines, making Linux password reset simple and secure.

    Screenshot of the Linux login screen with Reset Password/Unlock Account link.

  2. Clicking this link will open the password reset portal. Users are required to prove their identity through any of the enforced authentication methods, such as SMS-based one-time passwords (OTPs), email-based OTPs, Google Authenticator, Duo Security, and RSA SecurID.

    Screenshot of the methods supported for multi-factor authentication during Linux-based Active Directory password reset.

  3. Once the user's identity is successfully verified, they will be allowed to reset their forgotten AD domain passwords.

Tip: Improve password security. Do you think users are employing weak passwords to secure their Linux machines? Help them create strong user passwords with the Password Policy Enforcer.

Screenshot of the Linux password reset process using ADSelfService Plus.

Validation and confirmation

  • After completing the steps, log in with your new password to confirm it works.
  • Administrators can audit reset actions using Reset Password Audit Report, detailing usernames, time of password reset, and device IPs.

Tips

Request for Support

Need further assistance? Fill this form, and we'll contact you rightaway.

  • Name
  •  
  • Business Email *
  •  
  • Phone *
  •  
  • Problem Description *
  •  
  • Country
  •  
  • By clicking 'Submit' you agree to processing of personal data according to the Privacy Policy.
Highlights of ADSelfService Plus

Password self-service

Allow Active Directory users to self-service their password resets and account unlock tasks, freeing them from lengthy help desk calls.

One identity with single sign-on

Get seamless one-click access to 100+ cloud applications. With enterprise single sign-on, users can access all their cloud applications using their Active Directory credentials.

Password and account expiry notification

Intimate Active Directory users of their impending password and account expiry via email and SMS notifications.

Password synchronization

Synchronize Windows Active Directory user passwords and account changes across multiple systems automatically, including Microsoft 365, Google Workspace, IBM iSeries, and more.

Password policy enforcer

Strong passwords resist various hacking threats. Enforce Active Directory users to adhere to compliant passwords by displaying password complexity requirements.

Directory self-update and corporate directory search

Enable Active Directory users to update their latest information themselves. Quick search features help admins scout for information using search keys like contact numbers.

ADSelfService Plus trusted by

Embark on a journey towards identity security and Zero Trust