Passwd Authentication Token Manipulation Error Nis
Contents |
Main | "Cannot allocate... » Unable to change NIS password By Csoto-Oracle on Nov 13, 2013 On the last few weeks I worked a Service Request where Linux user was authentication token manipulation error linux unable to change user passwords NIS. As a matter of fact, NIS
Passwd Authentication Token Manipulation Error Redhat
is used by several people on their Exalogic environments. [root@computenode ~]# passwd user01 Changing password for user user01. passwd authentication token manipulation error centos passwd: Authentication token manipulation error [root@computenode ~]# In this case, "user01" is an example username. This issue may occur on all NIS nodes and even on master server as well. passwd authentication token manipulation error redhat 6 This error typically corresponds to typos or missing keywords in configuration files from the /etc/pam.d directory. On the Service Request that I worked, the file system-auth-ac had no nis keyword: #%PAM-1.0 # This file is auto-generated. # User changes will be destroyed the next time authconfig is run. auth required pam_env.so auth sufficient pam_unix.so nullok try_first_pass auth requisite pam_succeed_if.so uid >=
(current) Unix Password Passwd Authentication Token Manipulation Error
500 quiet auth required pam_deny.so account required pam_unix.so account sufficient pam_succeed_if.so uid < 500 quiet account required pam_permit.so password requisite pam_cracklib.so try_first_pass retry=3 password sufficient pam_unix.so md5 shadow remember=5 nullok try_first_pass use_authtok password required pam_deny.so session optional pam_keyinit.so revoke session required pam_limits.so session [success=1 default=ignore] pam_succeed_if.so service in crond quiet use_uid session required pam_unix.so This kind of issue has also been described in a case where the "pam_rootok.so" line had a typo ("sufficent" instead of correct "sufficient") on the su file. To solve this kind of issues, first the typos must be (obviously) fixed. For this NIS case, it is necessary to make sure that keyword is added: password sufficient pam_unix.so md5 shadow nis remember=5 nullok try_first_pass use_authtok Note that these settings should be consistent across all the NIS nodes (master server and clients). Category: Exalogic Tags: nis tips troubleshooting Permanent link to this entry « Minimum percentage... | Main | "Cannot allocate... » Comments: It solved my problem, really useful. Posted by guest on May 31, 2015 at 04:07 AM CLT # Post a Comment: Name: E-Mail: URL: Notify
Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the passwd authentication token manipulation error centos 7 workings and policies of this site About Us Learn more about Stack passwd authentication token manipulation error centos 6 Overflow the company Business Learn more about hiring developers or posting ads with us Server Fault Questions Tags
Passwd: Authentication Token Manipulation Error Suse
Users Badges Unanswered Ask Question _ Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute: Sign up Here's how https://blogs.oracle.com/csoto/entry/unable_to_change_nis_password it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top How can I change passwords on a Linux NIS master? up vote 3 down vote favorite 2 This seems like it should be simple, but if it is, I must be missing something. I have a Linux NIS master http://serverfault.com/questions/532637/how-can-i-change-passwords-on-a-linux-nis-master from which I would like to be able to change users' passwords (in cases of forgotten passwords and similar things), but I can't. Some details: I'm running Scientific Linux 6.4, with ypserv-2.19-26, ypbind-1.20.4-30, and yp-tools-2.9-12. NIS is configured to use /etc/yp/passwd for its passwd map (i.e. not the system passwd file). The system is a client of itself and ypwhich returns "localhost". Because unprivileged users should not be logging in to the NIS master, we have the following set in /etc/nsswitch.conf: passwd: files compat and this at the end of /etc/passwd: +::::::/bin/false In addition, /etc/pam.d/passwd contains the standard RHEL directives: password substack system-auth /etc/pam.d/system-auth is a symlink to /etc/pam.d/system-auth-ac, which contains: password requisite pam_cracklib.so try_first_pass retry=3 type= password sufficient pam_unix.so md5 shadow nis nullok try_first_pass use_authtok password required pam_deny.so (As a side note, we're using md5 instead of sha512 because we have some Solaris clients that don't support sha512.) If I run passwd as root, it prompts me for the new passwd, but then fails to change it: $ sudo passwd phil Changing password for user phil. Ne
Tags Search LQ Wiki Search Tutorials/Articles Search HCL Search Reviews Search ISOs Go to Page... LinuxQuestions.org > Forums > Linux Forums > Linux - Server Users unable to change NIS passwords User Name Remember Me? Password http://www.linuxquestions.org/questions/linux-server-73/users-unable-to-change-nis-passwords-4175502992/ Linux - Server This forum is for the discussion of Linux Software used in a server related context. Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. authentication token Join our community today! Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Are you new to LinuxQuestions.org? Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here. Having a problem logging in? Please visit this authentication token manipulation page to clear all LQ-related cookies. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own. Click Here to receive this Complete Guide absolutely free. Search this Thread 04-25-2014, 01:33 PM #1 drwilkins LQ Newbie Registered: Apr 2014 Posts: 2 Rep: Users unable to change NIS passwords I have a Fedora 20 NIS server with separate passwd and shadow maps (sourced from /etc) and running yppasswdd, with a set of Fedora 20 clients connecting to it. Users are unable to change their own NIS passwords. If a standard user types yppasswd (on either a client or the NIS master server), after entering their new