Update passwd.md

This commit is contained in:
Yang Yang 2024-09-15 11:40:53 +08:00 committed by GitHub
parent a5d4c6b9d0
commit b93506f75a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,4 +4,5 @@ functions:
- code: | - code: |
PASS=new_password_here PASS=new_password_here
echo -e "$PASS\n$PASS" | sudo passwd root echo -e "$PASS\n$PASS" | sudo passwd root
su root
--- ---