For most linux systems, random password for a user
usermod -p $(mkpasswd -m sha-512 $(openssl rand -base64 32)) user
Written by Chris White
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Linux
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#