You are here

Unable to change user password via SSH

5 posts / 0 new
Last post
ZL1LW
Unable to change user password via SSH
Good day,

I am trying to change a node password via SSH. The node is running the latest version of AREDN firmware. I am able to log into the node via SSH from an Ubuntu 14.04 desktop pc without a problem. I searched the forums but did not come up with a solution so hope someone can set me right.
I followed the guide as noted on this website. Issuing the the command  $ setpasswd abc  , directly after login via SSH, I get an error stating that the command does not exist.

Could someone kindly point out my mistake?

73

Hannes
ZL1LW
 
WU2S
WU2S's picture
Try chpasswd

From the busybox documentation:

chpasswd
chpasswd [--md5|--encrypted]

Read user:password from stdin and update /etc/passwd

Options:

        -e,--encrypted  Supplied passwords are in encrypted form
        -m,--md5        Use MD5 encryption instead of DES
K5DLQ
K5DLQ's picture
only do this if you want to
only do this if you want to break things.  The GUI does a little more than just a change password command.... 
 
ZL1LW
Recommendation for changing password remotely?
Thanks for the replies. 

K5DLQ, So may I safely make the assumption that one is unable to reset a node password via ssh?



 
K5DLQ
K5DLQ's picture
that is correct for now.  A
that is correct for now.  A future change may allow it, but, not right now.
 

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer