Original question:
Our Digital Unix computer used to run OK.
But a few days ago I found users could not change their password.
When type passwd and hit return key nothing happen and just like below:
ksh:godzilla:/usr/users/zuh># passwd
ksh:godzilla:/usr/users/zuh>#
But root still can run passwd as below:
ksh:godzilla:/># passwd
Changing password for root.
New password:
I checked the file permission of /etc/passwd:
ksh:godzilla:/># ls -l /etc/passwd -rwxr-xr-x 1 root system
2976 Mar 6 11:14/etc/passwd
ksh:godzilla:/>
It looks OK.
If you have any idea and clue for fixing this problem I will very
appreciate!
Answers:
I checked permission of /usr/bin/passwd
/usr/bin #> ls -l passwd
-rwxr-xr-x 3 root bin 16384 Nov 13 1998 passwd
I changed the permission by:
ksh:godzilla:/usr/bin># chmod u+s,go-r passwd
ksh:godzilla:/usr/bin># ls -l passwd
-rws--x--x 3 root bin 16384 Nov 13 1998 passwd
When I changed the /usr/bin/passwd permission to "-rws---x--x" then it works
OK.
Thanks to:
Ken Kleiner
William H. Magill
Sean O'Connell
Leonard, Roger
Chad Price
Matt White
Frank Wortner
++++++++++++++++++++++++++++++++++++++++++
Hongya Zu
Research Information Service
Children's Research Institute
700 Children's Drive
Columbus, OH 43205
Phone: (614) 722-2914
Fax: (614) 722-2716
Email: zuh_at_pediatrics.ohio-state.edu
+++++++++++++++++++++++++++++++++++++++++
Received on Mon Mar 06 2000 - 18:43:57 NZDT