07-16-2008
NIS Password
Greetings All,
I am newbie to Unix. Have the following issue:
Users are unable to change their password themselves.
After they ash to a specific box (NIS Account is extended to that box)and then su as them with an assigned password and run command to change the password they get this error:
passwd -r nis username
Enter existing login password:
New Password:
Re-enter new Password:
Permission denied
Also tried to use passwd command and yppasswd
I do not have a problem changing their passwords via /etc/shadow file
Any help appreciated
Thanks
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
SCO OpenServer 5.05
Has anyone ever received this error when attempting to
change/assign a user password?
#ypasswd
=======================================
yppasswd: (host name) is not running yppasswd daemon
Password request denied.
Reason: Remote password change request denied.... (2 Replies)
Discussion started by: gseyforth
2 Replies
2. Solaris
Hi,
I need help urgently.
I've been running NIS for 4 years without problem. And just two weeks ago, all my users are unable to change their password which never happens before.
When we issue passwd or yppasswd, this is what we get
passwd : Changing password for Jennifer
Enter existing... (2 Replies)
Discussion started by: jennifer
2 Replies
3. Shell Programming and Scripting
Hi ,
is there anyway of implementing password aging in NIS?
I would say thanks in advance.
Thanks and regards,
HAA (1 Reply)
Discussion started by: HAA
1 Replies
4. Solaris
Hi
Our nis server running on Sun solaris 8 operating system.
I have added a new user in the nis passwd file
& when I am trying to update the file from nis server by using
following command:
# cd /var/yp
# make
updated passwd
It updates the passwd file but does not come back to command... (3 Replies)
Discussion started by: dolphin
3 Replies
5. Red Hat
I have a RHEL 5 NIS server. It seems to be working fine except for password ageing. If passwords expire in the shadow file then users are still able to log on with no problems and no notifications. Does anyone know how to turn password ageing on through NIS? (4 Replies)
Discussion started by: darren.wyatt
4 Replies
6. Solaris
Friends
I want to know whether i can change the password of a user logged in thru NIS from a client machine after stopping the YP services in NIS server.
Note - The Slave server is up and running.
I tried doing this. But i got the reply "Permission Denied".
I stopped the YP services in... (7 Replies)
Discussion started by: efunds
7 Replies
7. Solaris
Hi
Any body knows how to prompt user to change password on first login in a Solaris NIS client.
Thanks
HG (3 Replies)
Discussion started by: Hari_Ganesh
3 Replies
8. Red Hat
Hi,
I am running NIS server on redhat linux 5 and I want to implement password restrictions for the yppasswd, how can I do it.Please help me.
I can implement password restriction for passwd by configuring /etc/pam.d/system-auth and setting crack_lib.so but I don't know how to implent the same... (3 Replies)
Discussion started by: ktrimu
3 Replies
9. HP-UX
HI. I was wondering if anyone can assist me in this. I have an HP-UX 11.31 server at work which keeps expiring my NIS password. I cannot log in unless I use root access. It worked before and I think some of the settings changed since then. My boss has told me that since we're taking some... (1 Reply)
Discussion started by: zixzix01
1 Replies
10. Shell Programming and Scripting
Hi All,
I am having Solaris 5.10 acting as NIS.
How do i change multiple user password in NIS in a batch.
I have predefined users with their passwords to be set:
Example:
user1 password1
user2 password2
Pls advise. (0 Replies)
Discussion started by: yogajwa
0 Replies
LEARN ABOUT HPUX
yppasswd
yppasswd(1) General Commands Manual yppasswd(1)
NAME
yppasswd - change login password in Network Information System (NIS)
SYNOPSIS
[name]
Remarks
The Network Information Service (NIS) was formerly known as Yellow Pages (YP). The functionality remains the same; only the name has
changed.
DESCRIPTION
changes or installs a password associated with the login name in the Network Information System (NIS). The NIS password can be different
from the one on your own machine. If name is omitted, it defaults to the name returned by (see getlogin(3C)).
prompts for the old NIS password (even if it does not exist), then twice for the new one. The old password must be entered correctly for
the change to take effect. Checks occur to ensure that the new password meets the following construction requirements.
o Only the first eight characters are significant.
o A password can be as few as four characters long if it contains
o at least one special character or
o a mixture of numeric, uppercase and lowercase letters.
o A password can be as few as five characters long if it contains a mixture of
o uppercase and lowercase letters or
o numeric and either uppercase or lowercase letters.
o A password must contain at least six characters if it contains only monocase letters.
All these rules except the first are relaxed if you try three times to enter an unacceptable new password. You cannot, however, enter a
null password.
Only the owner of the name or the superuser can change a password.
The Network Information System password daemon, must be running on the master NIS password server to change NIS passwords. See yppass-
wdd(1M).
WARNINGS
The password update protocol passes the old and new passwords to the master NIS server at once. Thus, if the old NIS password is incor-
rect, no notification is given until the new NIS password is successfully entered.
The password construction rules are different from those of the HP-UX command (see passwd(1)).
The root user's password cannot be changed using or Therefore, root users must change their password in the files database and then recon-
struct the NIS maps using the command. For more information on how to use the command, see ypmake(1M).
User applications that call this routine must be linked with For example,
AUTHOR
was developed by Sun Microsystems, Inc.
SEE ALSO
id(1), passwd(1), su(1), yppasswdd(1M), getlogin(3C), yppasswd(3N), ypfiles(4).
yppasswd(1)