Operating System - HP-UX
1826373 Members
4169 Online
109692 Solutions
New Discussion

Re: Tying to change password

 
Angela Shepherd
Advisor

Tying to change password

Receiving the following message when I try to change my password:

passwd: alter: not found.
passwd[2]: /SD_CDROM: Execute permission denied.
passwd[3]: alter: not found.
passwd[4]: /SD_CDROM: Execute permission denied.
passwd[5]: alter: not found.
passwd[6]: /SD_CDROM: Execute permission
denied.

Does anyone know how to solve this problem?
NO personal quote
4 REPLIES 4
Umapathy S
Honored Contributor

Re: Tying to change password

I think your /etc/passwd file may be corrupted. Try running pwck on your system.

HTH,
Umapathy
Arise Awake and Stop NOT till the goal is Reached!
Stuart Abramson_2
Honored Contributor

Re: Tying to change password

The output sequence you are getting looks odd. Like error messages from a script at lines 2, 3, 4, 5...

Are you located in /SD_CDOM? Do you have a file in /SD_CDROM called "passwd", and you have put "." in your current path (which you are not supposed to do.)?

cd / and try this again.
Umapathy S
Honored Contributor

Re: Tying to change password

Or is it a wrapper around original passwd?
Arise Awake and Stop NOT till the goal is Reached!
Keith Bevan_1
Trusted Contributor

Re: Tying to change password

Angela,

I don't know if you have got this resolved yet, and even if you have the information below may be useful anyway.
Someone could have written a script on your system called passwd that is spoofing your passwd change and sending out an erroneous message.


Type :-

type passwd

The response should be something like :-

passwd is /usr/bin/passwd

Then type :-

file /usr/bin/passwd
(or whatever the path was as above)

The output should be like :-

/usr/bin/passwd: PA-RISC1.1 shared executable dynamically linked

You can also check the date and permission on the file :-

ls -l /usr/bin/passwd

Last of all, if the above is okay then type :-

pwck

as this will check the integrity of you /etc/password file.

If all the above is okay then at least you can feel comfortable that the passwd security is okay and it must be something else.

Hope this helps.

Keith
You are either part of the solution or part of the problem