Sanjeev Raghav
asked on
Error changing password AIX
Hello Experts ,
I am ssh to a server to change password . sudo passwd sr185218 (where sr185218 is user) . I am able to fire the command manually and no error but while trying to run same command from shh getting error i.e. not able to change password on AIX Machine .
ssh logs and error is given below
++++++++++++++++++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ +++debug1: Next authentication method: password^M^M
sr185218@ibm5403's password: ^M
debug1: Authentication succeeded (password).^M^M
debug1: channel 0: new [client-session]^M^M
debug1: Requesting no-more-sessions@openssh.c om^M^M
debug1: Entering interactive session.^M^M
debug1: Sending environment.^M^M
debug1: Sending env LANG = en_US^M^M
debug1: Sending command: /home/sr185218/sr185218.sh ^M^M
Error changing password for "sr185218".^M
Changing password for "sr185218"^M
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0^M^M
debug1: client_input_channel_req: channel 0 rtype eow@openssh.com reply 0^M^M
debug1: channel 0: free: client-session, nchannels 1^M^M
Transferred: sent 2088, received 3648 bytes, in 0.0 seconds^M^M
Bytes per second: sent 44153.9, received 77142.5^M^M
debug1: Exit status 6^M^M
++++++++++++++++++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ ++++++++++ +++++++++
Could you please advice ...
I am ssh to a server to change password . sudo passwd sr185218 (where sr185218 is user) . I am able to fire the command manually and no error but while trying to run same command from shh getting error i.e. not able to change password on AIX Machine .
ssh logs and error is given below
++++++++++++++++++++++++++
sr185218@ibm5403's password: ^M
debug1: Authentication succeeded (password).^M^M
debug1: channel 0: new [client-session]^M^M
debug1: Requesting no-more-sessions@openssh.c
debug1: Entering interactive session.^M^M
debug1: Sending environment.^M^M
debug1: Sending env LANG = en_US^M^M
debug1: Sending command: /home/sr185218/sr185218.sh
Error changing password for "sr185218".^M
Changing password for "sr185218"^M
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0^M^M
debug1: client_input_channel_req: channel 0 rtype eow@openssh.com reply 0^M^M
debug1: channel 0: free: client-session, nchannels 1^M^M
Transferred: sent 2088, received 3648 bytes, in 0.0 seconds^M^M
Bytes per second: sent 44153.9, received 77142.5^M^M
debug1: Exit status 6^M^M
++++++++++++++++++++++++++
Could you please advice ...
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It really helped me a lot . Appreciating from core of my heart .
Regards
Sanjeev Raghav