Unable To Successfully Change Root Password
Background:
Am running RHEL 6.5
[root@nvger1 ~]# uname -a
Linux nvger1.xxx.com 2.6.32-431.20.3.el6.x86_64 #1 SMP Fri Jun 6 18:30:54 EDT 2014 x86_64 GNU/Linux
[root@nvger1 ~]#
The host is an NIS client operating within an HPUX NIS environment.
What the problem is:
As user root, I am unable to successfully change the root password. Here is what happens whenever I attempt to do so:
[root@nvger1 ~]# passwd
Changing password for user root.
New password:
Retype new password:
passwd: Authentication token manipulation error
[root@nvger1 ~]#
I also created a test user account that is local to the host and is not
an NIS user account. I was also unsuccessful in trying to change the test user's password.
Please note that SELinux is disabled. Also, the root file system is mounted R/W
The /var/log/secure entry shows this:
Sep 4 11:26:12 nvger1 passwd: gkr-pam: couldn't update the 'login' keyring password: no old password was entered
Any ideas on what is preventing me from changing the root password and how this can be fixed? Thanks in advance.
Best Regards,
Rob S.
Comments
-
Have you tried with changing password using single-user mode?0
-
I fixed the problem by running 'pwconv'; running this command created the /etc/shadow
file which, apparently, was missing. Bottom line is that creating the /etc/shadow
file allowed me to successfully run the 'passwd' command to change the root
password.0
Categories
- All Categories
- 179 LFX Mentorship
- 179 LFX Mentorship: Linux Kernel
- 776 Linux Foundation IT Professional Programs
- 384 Cloud Engineer IT Professional Program
- 175 Advanced Cloud Engineer IT Professional Program
- 76 DevOps IT Professional Program - Discontinued
- 7 DevOps & GitOps IT Professional Program
- 103 Cloud Native Developer IT Professional Program
- 7.7K Training Courses & Learning Paths
- 17 AI & ML Training
- 2 Blockchain & Decentralized Identity Training
- 44 Cloud & Containers Training
- 7 Cybersecurity Training
- 4 DevOps & Site-Reliability Training
- 3 Linux Kernel Development Training
- 2 Networking Training
- 2 Open Source Best Practice Training
- 6 System Administration Training
- 1 System Engineering Training
- 6 Web & Application Development Training
- 798 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 96 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 92 Storage
- 774 Linux Distributions
- 82 Debian
- 68 Fedora
- 24 Linux Mint
- 13 Mageia
- 24 openSUSE
- 151 Red Hat Enterprise
- 32 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 473 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 104 Linux Security
- 79 Network Management
- 102 System Management
- 46 Web Management
- 174 Mobile Computing
- 32 Android
- 127 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 407 Off Topic
- 128 Introductions
- 35 Study Material
- 1.1K Programming and Development
- 312 Kernel Development
- 729 Software Development
- 1K Software
- 421 Applications
- 183 Command Line
- 5 Compiling/Installing
- 71 Games
- 320 Installation
- Archived
- 183 Small Talk
- 2 LFD140 Class Forum
- 1.4K LFS258 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)