LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 09-04-2014, 02:45 PM   #1
Robs58
LQ Newbie
 
Registered: Jul 2013
Posts: 6

Rep: Reputation: Disabled
Unable To Successfully Change Root Password


Background:

Am running RHEL 6.5
[root@nvger1 ~]# uname -a
Linux nvger1.rsn.hp.com 2.6.32-431.20.3.el6.x86_64 #1 SMP Fri Jun 6 18:30:54 EDT 2014 x86_64 x86_64 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

I noticed that there is a previous posting offering a solution, but only if you have access to Redhat support: http://www.linuxquestions.org/questi...-a-4175504792/

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.
 
Old 09-04-2014, 08:14 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,865

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
Has your installation set up stricter rules to form passwords than the Red Hat defaults? If so then you might have an error in the way that those stricter rules are set up.

--------------------
Steve Stites
 
Old 09-04-2014, 11:21 PM   #3
Robs58
LQ Newbie
 
Registered: Jul 2013
Posts: 6

Original Poster
Rep: Reputation: Disabled
Can you please elaborate a bit on this...or possibly point me to some documentation? I need to determine the cause of this problem and fix it ASAP. Thanks!

Rob S.
 
Old 09-05-2014, 11:57 AM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,865

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
Quote:
Originally Posted by Robs58 View Post
Can you please elaborate a bit on this...or possibly point me to some documentation? I need to determine the cause of this problem and fix it ASAP. Thanks!

Rob S.
Here is a description of the files involved:

http://unix.stackexchange.com/questi...assword-change

But before you go chasing this you have to determine whether your installation has implemented stricter rules for forming passwords. If you have not done so then this is not the area that the problem is located.

-------------------
Steve Stites
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to Change root or any user password in RHEL.5.4 Ashutosh Rawat Linux - Software 2 05-13-2014 09:49 AM
unable to change root password VGM Linux - General 6 10-05-2009 04:13 AM
Unable to start KDE 3.5.1 successfully as non-root users phidelity Slackware 19 09-18-2009 04:42 AM
Unable to Change password Even as root?? ajeetraina Linux - Newbie 11 05-09-2008 06:34 AM
SUSE installer terminated (successfully?) before creating users or root password rose_bud4201 SUSE / openSUSE 2 03-13-2006 04:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 11:45 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration