• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
sharadchhetri

sharadchhetri

Tutorials On Linux, Unix & Open Source

  • Home
  • Linux Commands
  • Resources
    • Learn Linux
  • My WordPress plugins

In ESX , passwd: authentication information cannot be recovered

July 27, 2011 by Sharad Chhetri Leave a Comment

In ESX , passwd: authentication information cannot be recovered

The ESX box has AD authentication.

I was getting error when I am trying to reset user password
by using command “passwd user_name”
Whenever U get this error “passwd: authentication information cannot be recovered”,it means something is wrong in ur some /etc/pam.d files.

In my case I found that ,it was /etc/pam.d/system-auth file.

So I commented some lines.
Below is the screenshot.

[root@Server pam.d]# vi system-auth
#%PAM-1.0
#auth required pam_tally.so deny=5
#account required pam_tally.so
#password sufficient pam_unix.so remember=12 md5 shadow nullok try_first_pass use_authtok

account required pam_per_user.so /etc/pam.d/login.map
auth required pam_per_user.so /etc/pam.d/login.map
password required pam_per_user.so /etc/pam.d/login.map
session required pam_per_user.so /etc/pam.d/login.map

Issue is resolved now.

Share this:

  • Twitter
  • Facebook
  • More
  • Print
  • Email
  • LinkedIn
  • Reddit
  • Tumblr
  • Pinterest
  • Pocket
  • Telegram
  • WhatsApp
  • Mastodon

Related posts:

  1. RSA key authentication in Linux : Passwordless login
  2. configure: error: C++ compiler cannot create executables
  3. How to configure vsftpd server with virtual user mysql authentication in CentOS 6
  4. Setup CRAM-MD5 authentication for mailing in owncloud Ubuntu
  5. shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
  6. Postfix + SES : SASL authentication failed
  7. Activate.ps1 cannot be loaded because running scripts is disabled on this system
  8. This XML file does not appear to have any style information associated with it, RSS Feed problem(wordpress)
  9. type Command : Display Information About Command Type On Linux
  10. error: Could not get shadow information for root

Filed Under: Linux Tagged With: ESX

Reader Interactions

Leave a Reply Cancel reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Our Social Media Presence

  • Facebook
  • GitHub
  • Twitter

Linux Command

What is Linux Internal And External Command

Linux Basic Commands With Examples For Every Beginner

tr command to convert lines to space , tab and vertical tab

smbpasswd command not found on CentOS 7 and RHEL 7

Solution : semanage command not found

Unix / Linux : How to print duplicate lines from file

More Posts from this Category

You Might Like These Articles!

simplecodesyntax wordpress plugin

SimpleCodeSyntax : My Another WordPress Plugin

Install Nginx

How To Install Nginx On Ubuntu 22.04 LTS

Install Latest Git package in Ubuntu Operating System

How To Always Install Latest Git Package In Ubuntu Operating System

Bash script for installing VirtualBox on Ubuntu 22.04 LTS Desktop

Install VirtualBox On Ubuntu 22.04 LTS Desktop (Bash Script)

libfuse

dlopen(): error loading libfuse.so.2 – Got Error On Ubuntu

Failed to open/create the internal network

VirtualBox Error: Failed to open/create the internal network

Always Useful Tips And Tricks

How to download package using apt-get command in ubuntu

WordPress host IP changed not able to open wp-admin and site page looks scattered

How to add/install Ubuntu fonts in CentOS/Red Hat Linux

How to reset forgot root password in CentOS 6.x and Redhat 6.x

How to find swap partition or file in linux

New XAMPP security concept

How to convert float to integer number

Explore 90+ Article On "Linux Tips And Tricks"

Copyright © 2023 ยท
The material in this site cannot be republished either online or offline, without our permission.
Proudly Blogging From Bharat.

  • Contact
  • About Me
  • My WordPress plugins
  • Privacy Policy