Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Bash
Posted by: Dmitriy Prilipko
Added: Jul 10, 2018 9:50 AM
Views: 5
  1. #To set or change your (root) password:
  2. sudo -i
  3. passwd
  4. #To lock it again
  5. sudo passwd -dl root