{"id":3880,"date":"2021-02-12T09:19:16","date_gmt":"2021-02-12T00:19:16","guid":{"rendered":"https:\/\/coeure.co.jp\/blog\/?p=3880"},"modified":"2026-04-03T10:58:36","modified_gmt":"2026-04-03T01:58:36","slug":"azure-centos-root-210212","status":"publish","type":"post","link":"https:\/\/coeure.co.jp\/blog\/infrastructure\/microsoft-azure\/azure-centos-root-210212","title":{"rendered":"\u3010Azure VM\u3011CentOS\u306broot\u30e6\u30fc\u30b6\u3067\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"\n<p>Microsoft Azure\u3092\u4f7f\u3046\u3068\u7c21\u5358\u306bLinux\u30b5\u30fc\u30d0\u3092\u69cb\u7bc9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3057\u304b\u3057\u3001Microsoft Azure\u306eMarketPlace\u304b\u3089CentOS\u306e\u4eee\u60f3\u30de\u30b7\u30f3\u3092\u65b0\u898f\u4f5c\u6210\u3059\u308b\u3068\u3001root\u30e6\u30fc\u30b6\u306e\u521d\u671f\u30d1\u30b9\u30ef\u30fc\u30c9\u304c\u975e\u516c\u958b\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u3067\u306f\u3001\u30eb\u30fc\u30c8\u6a29\u9650\u304c\u5fc5\u8981\u306a\u3068\u304d\u306b\u306f\u3069\u3046\u3059\u308c\u3070\u826f\u3044\u306e\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n\n\n\n\n\n\n\n<h2 class=\"wp-block-heading\">\u521d\u671f\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u30eb\u30fc\u30c8\u6a29\u9650\u3092\u4ed8\u4e0e<\/h2>\n\n\n\n<p>Tera Term\u306a\u3069\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u30a8\u30df\u30e5\u30ec\u30fc\u30bf\u3092\u4f7f\u3063\u3066\u4eee\u60f3\u30de\u30b7\u30f3\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u307e\u3059\u3002\u3053\u306e\u3068\u304d\u4f7f\u7528\u3059\u308b\u306e\u306f\u3001\u4eee\u60f3\u30de\u30b7\u30f3\u4f5c\u6210\u6642\u306e\u521d\u671f\u30a2\u30ab\u30a6\u30f3\u30c8\u3068\u30d1\u30b9\u30ef\u30fc\u30c9\u3067\u3059\u3002<\/p>\n\n\n\n<p>Microsoft Azure\u306e\u4eee\u60f3\u30de\u30b7\u30f3\uff08CentOS\uff09\u306b\u521d\u671f\u30a2\u30ab\u30a6\u30f3\u30c8\u3067\u30ed\u30b0\u30a4\u30f3\u3057\u3001\u4ee5\u4e0b\u306e\u901a\u308a\u300csudo su -\u300d\u3067root\u306b\u306a\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30d1\u30b9\u30ef\u30fc\u30c9\u5165\u529b\u3092\u6c42\u3081\u3089\u308c\u308b\u306e\u3067Azure\u4eee\u60f3\u30de\u30b7\u30f3\u4f5c\u6210\u6642\u306b\u8a2d\u5b9a\u3057\u305f\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>$ sudo su -\n[sudo] password for &quot;\u521d\u671f\u30a2\u30ab\u30a6\u30f3\u30c8\u540d&quot;: #Azure\u306e\u4eee\u60f3\u30de\u30b7\u30f3\u4f5c\u6210\u6642\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\n#<\/code><\/pre><\/div>\n\n\n\n\n\n\n\n<p>\u3053\u308c\u3067root\u306b\u306a\u308c\u307e\u3057\u305f\u3002\u3067\u306f\u3001\u6b21\u306broot\u30e6\u30fc\u30b6\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n\n\n\n\n\n\n\n\n<h2 class=\"wp-block-heading\">root\u30e6\u30fc\u30b6\u306b\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a<\/h2>\n\n\n\n<p>passwd\u30b3\u30de\u30f3\u30c9\u3092\u4f7f\u3063\u3066root\u30e6\u30fc\u30b6\u306b\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code># passwd\nChainging password for user root.\nNew password: #root\u30e6\u30fc\u30b6\u306b\u65b0\u305f\u306b\u8a2d\u5b9a\u3059\u308b\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002\nRetype new password: #root\u30e6\u30fc\u30b6\u306b\u65b0\u305f\u306b\u8a2d\u5b9a\u3059\u308b\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u3082\u3046\u4e00\u5ea6\u5165\u529b\u3057\u307e\u3059\u3002\npasswd: all authentication tokens updated successfully.<\/code><\/pre><\/div>\n\n\n\n\n\n\n\n<p>\u3053\u308c\u3067root\u30e6\u30fc\u30b6\u306b\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n\n\n\n\n\n\n\n\n<h2 class=\"wp-block-heading\">\u63a5\u7d9a\u30c6\u30b9\u30c8<\/h2>\n\n\n\n<p>\u5b9f\u969b\u306broot\u30e6\u30fc\u30b6\u3067\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u308b\u304b\u30c6\u30b9\u30c8\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u3044\u3063\u305f\u3093\u30ed\u30b0\u30aa\u30d5\u3057\u3066root\u30e6\u30fc\u30b6\u3067\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u63a5\u7d9a\u3067\u304d\u305f\u3089OK\u3067\u3059\u3002<\/p>\n\n\n\n\n\n\n\n<p>\u4eca\u56de\u306f\u3053\u3053\u307e\u3067\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Microsoft Azure\u3092\u4f7f\u3046\u3068\u7c21\u5358\u306bLinux\u30b5\u30fc\u30d0\u3092\u69cb\u7bc9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3057\u304b\u3057\u3001Microsoft Azure\u306eMarketPlace\u304b\u3089CentOS\u306e\u4eee\u60f3\u30de\u30b7\u30f3\u3092\u65b0\u898f\u4f5c\u6210\u3059\u308b\u3068\u3001root\u30e6\u30fc\u30b6\u306e\u521d\u671f\u30d1\u30b9\u30ef [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3910,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[44,41],"tags":[],"class_list":["post-3880","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","category-microsoft-azure"],"_links":{"self":[{"href":"https:\/\/coeure.co.jp\/blog\/wp-json\/wp\/v2\/posts\/3880","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/coeure.co.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/coeure.co.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/coeure.co.jp\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/coeure.co.jp\/blog\/wp-json\/wp\/v2\/comments?post=3880"}],"version-history":[{"count":12,"href":"https:\/\/coeure.co.jp\/blog\/wp-json\/wp\/v2\/posts\/3880\/revisions"}],"predecessor-version":[{"id":6399,"href":"https:\/\/coeure.co.jp\/blog\/wp-json\/wp\/v2\/posts\/3880\/revisions\/6399"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/coeure.co.jp\/blog\/wp-json\/wp\/v2\/media\/3910"}],"wp:attachment":[{"href":"https:\/\/coeure.co.jp\/blog\/wp-json\/wp\/v2\/media?parent=3880"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/coeure.co.jp\/blog\/wp-json\/wp\/v2\/categories?post=3880"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/coeure.co.jp\/blog\/wp-json\/wp\/v2\/tags?post=3880"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}