Score:0

How can I change SSH password without root access when the passwd command isn't working?

pl flag
xir

I'm pretty Unix illiterate, so I apologize if this is an ill-founded question. I have SSH access to a server with a password which I know, but I'd like to change it. When I use the passwd command, however, I get a passwd: Authentication token manipulation error even when I'm certain I typed in the correct current password. I looked around at ways to fix this, but they all seem to require root-level access, e.g. remounting, changing permissions of the shadow file, etc. Is there any way I can deal with this without such access? It seems like there surely oughta be a way to change your own password if you know your former one. Thanks!

muru avatar
us flag
It depends on how the system is configured. Maybe it's using LDAP or AD and isn't configured to allow changing passwords. Ask your administrator.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.