SUMMARY: I have problem to change password

From: Zu, Hongya <Zuh_at_pediatrics.ohio-state.edu>
Date: Mon, 06 Mar 2000 13:33:32 -0500

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

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:40 NZDT