Linux - ServerThis 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. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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 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.
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 password, they get the error
crypt() call failed
Or, just using passwd, they get
NIS password could not be changed. passwd: Authentication token manipulation error
After entering and re-entering the new password.
On the other hand, logging in as root to the NIS master server and using "yppasswd username" works just fine - root is able to change NIS passwords using yppasswd.
How can I make it so users can change their own passwords?
The yppasswd command changes (or installs) a network password and associates it with the name you specify in the UserName parameter. To create or change a password, you must be the owner of the password you want to change. The Network Information Services (NIS) password can be different from the one on your own machine. Root users on an NIS server can change the password of another user without knowing the user's original password. To do this, the Root user enters their password in place of the user's original password. Root users on an NIS client, however, do not have this privilege.
This error is being produced because you are using shadowed password files and the shadow doesn’t have entry for this user. i.e, /etc/passwd has an entry for this user, but /etc/shadow doesn’t.
The username in the /etc/passwd should be matched with /etc/shadow.
This error is being produced because you are using shadowed password files and the shadow doesn’t have entry for this user. i.e, /etc/passwd has an entry for this user, but /etc/shadow doesn’t.
The username in the /etc/passwd should be matched with /etc/shadow.
I've just checked and the username in /etc/passwd matches that in /etc/shadow and, indeed, the usernames also match between the NIS maps passwd.byname and shadow.byname.
Could there be another cause of this error? And is it relevant that I have MERGE_PASSWD=false set in the yp makefile so that there are separate NIS passwd and shadow maps?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.