tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: I have problem to change password
@ 2000-03-06 18:33 Zu, Hongya
  0 siblings, 0 replies; only message in thread
From: Zu, Hongya @ 2000-03-06 18:33 UTC (permalink / raw)
  To: tru64-unix-managers

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
+++++++++++++++++++++++++++++++++++++++++

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-03-06 18:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-06 18:33 SUMMARY: I have problem to change password Zu, Hongya

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