tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Zu, Hongya" <Zuh () pediatrics ! ohio-state ! edu>
To: tru64-unix-managers
Subject: SUMMARY: I have problem to change password
Date: Mon, 06 Mar 2000 18:33:32 +0000	[thread overview]
Message-ID: <96079341819352.tru64-unix-managers.marc@archive.invalid> (raw)

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@pediatrics.ohio-state.edu
+++++++++++++++++++++++++++++++++++++++++

                 reply	other threads:[~2000-03-06 18:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox