Created
November 1, 2016 09:00
-
-
Save wudixiaotie/475d61aeb615175d6c77ad25b18327a8 to your computer and use it in GitHub Desktop.
Change root password of SmartOS Global Zone
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
umount /etc/shadow; cp /usbkey/shadow /etc/shadow; passwd root; cp /etc/shadow /usbkey/shadow |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment