Udayan Maurya Udayan Maurya - 1 year ago 97
Linux Question

create password for user with only ssh key

I have user on my linux machine. The user logs in using an ssh key. User does not have a password. I want to create a password for this user, as password is required to access an application (R-studio server) I am trying to run.

Answer Source

To create password for your user, your can use: sudo passwd yourUser