Reputation: 13
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.
Upvotes: 0
Views: 270
Reputation: 2691
As per requirement:- ssh -t udayan@udayan_maurya_machine passwd
you can give password at the time of login into machine via ssh
Upvotes: 0
Reputation: 92
To create password for your user, your can use: sudo passwd yourUser
Upvotes: 1