{"id":5321,"date":"2017-09-29T12:31:54","date_gmt":"2017-09-29T09:31:54","guid":{"rendered":"http:\/\/skeletor.org.ua\/?p=5321"},"modified":"2017-09-29T12:31:54","modified_gmt":"2017-09-29T09:31:54","slug":"solaris-grub-password","status":"publish","type":"post","link":"https:\/\/skeletor.org.ua\/?p=5321","title":{"rendered":"[Solaris] grub password"},"content":{"rendered":"<p>&#8211; Get encrypted password using grub command.<\/p>\n<p><code># \/boot\/grub\/bin\/grub<br \/>\ngrub&gt; md5crypt<br \/>\nPassword: ********<br \/>\nEncrypted: $1$0igLM0$4m3eSYgUSzmE4GXHoXZIr0<br \/>\ngrub&gt; quit<\/code><\/p>\n<p><!--more--><\/p>\n<p>&#8211; Edit menu.lst.<br \/>\nAdd &#8220;password &#8211;md5 &lt;encrypted password&gt;&#8221;.<br \/>\nAdd &#8220;lock&#8221; if OS boot needs to be protected also.<\/p>\n<p><code># cat \/rpool\/boot\/grub\/menu.lst<br \/>\nsplashimage \/boot\/grub\/splash.xpm.gz<br \/>\nforeground 343434<br \/>\nbackground F7FbFF<br \/>\ndefault 0<br \/>\ntimeout 30<br \/>\npassword --md5 $1$0igLM0$4m3eSYgUSzmE4GXHoXZIr0<br \/>\n#---------- ADDED BY BOOTADM - DO NOT EDIT ----------<br \/>\ntitle Oracle Solaris 11 Express snv_151a<br \/>\nlock<br \/>\nfindroot (pool_rpool,0,a)<br \/>\nbootfs rpool\/ROOT\/solaris<br \/>\nkernel$ \/platform\/i86pc\/kernel\/$ISADIR\/unix -B $ZFS-BOOTFS<br \/>\nmodule$ \/platform\/i86pc\/$ISADIR\/boot_archive<br \/>\n#---------------------END BOOTADM--------------------<\/code><\/p>\n<p>\u0412\u0437\u044f\u0442\u043e \u0441 oracle.com<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8211; Get encrypted password using grub command. # \/boot\/grub\/bin\/grub grub&gt; md5crypt Password: ******** Encrypted: $1$0igLM0$4m3eSYgUSzmE4GXHoXZIr0 grub&gt; quit<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,24],"tags":[],"class_list":["post-5321","post","type-post","status-publish","format-standard","hentry","category-others","category-solaris"],"_links":{"self":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/5321","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5321"}],"version-history":[{"count":1,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/5321\/revisions"}],"predecessor-version":[{"id":5322,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=\/wp\/v2\/posts\/5321\/revisions\/5322"}],"wp:attachment":[{"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5321"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5321"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skeletor.org.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5321"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}