{"id":5188,"date":"2013-05-12T21:54:24","date_gmt":"2013-05-12T14:54:24","guid":{"rendered":"http:\/\/sinaulinux.martianuswb.com\/?p=2050"},"modified":"2013-05-12T21:54:24","modified_gmt":"2013-05-12T14:54:24","slug":"hilangnya-akun-administrator-di-ubuntu-13-04","status":"publish","type":"post","link":"http:\/\/martianuswb.com\/?p=5188","title":{"rendered":"Hilangnya akun Administrator di Ubuntu 13.04"},"content":{"rendered":"<p>[id]Kemarin dikejutkan dengan sebuah kasus di Ubuntu 13.04. Saat mau menginstall printer, ternyata <em>password root<\/em> yang saya masukkan tidak diterima. Ketika lewat Terminal dimasukkan perintah <em><strong>\u201csudo su\u201d<\/strong><\/em>, malah keluar tulisan <span style=\"color: #ff0000;\"><em><strong>\u201c&#8230; is not in the sudoers file<\/strong><\/em><\/span>\u201d. Setelah saya teliti, ternyata <em>user account<\/em> saya berubah dari <em>Administrator<\/em> menjadi <em>Standard<\/em>. Intinya, saya kehilangan akun Administrator saya, sehingga tidak punya hak akses root.<\/p>\n<p>Di Ubuntu, ini bisa jadi masalah yang pelik. Karena beberapa hal mengharuskan akses root, termasuk menginstall aplikasi-aplikasi baru, hingga perintah-perintah penting di Terminal.<\/p>\n<p>Rupanya solusinya cukup mudah, meskipun sempat bingung juga.<\/p>\n<p><span style=\"color: #0000ff;\"><strong>Langkah 1<\/strong><\/span>. Restart komputer.<\/p>\n<p><span style=\"color: #0000ff;\"><strong>Langkah 2.<\/strong><\/span> Masuk ke GRUB dan pilih Recovery Mode<\/p>\n<p><span style=\"color: #0000ff;\"><strong>Langkah 3<\/strong><\/span>. Pilih mode root. Di sini kita akan dibawa pada Ubuntu versi teks.<\/p>\n<p><span style=\"color: #0000ff;\"><strong>Langkah 4.<\/strong><\/span> Ketikkan perintah-perintah berikut:<\/p>\n<blockquote><p><span style=\"color: #ff0000;\">mount -o rw,remount \/<\/span><\/p>\n<p><span style=\"color: #ff0000;\">adduser &lt;username&gt; sudo<\/span><\/p>\n<p><span style=\"color: #ff0000;\">exit<\/span><\/p><\/blockquote>\n<p>Pada <em>&lt;username&gt;<\/em> silakan masukkan username Anda. Misal username Anda adalah \u201clinux\u201d, maka perintahnya menjadi <span style=\"color: #ff0000;\"><em>adduser linux sudo<\/em><\/span>.<\/p>\n<p>Sekarang, Anda sudah mendapatkan kembali hak akses sebagai Administrator.[\/id]<\/p>\n<p>[en]Yesterday I was shocked by an error in my Ubuntu 13.04. When I was installing a printer, Ubuntu didn&#8217;t accept my root password. Via Terminal, I typed <em><strong>\u201csudo su\u201d<\/strong><\/em> there was a message <em><span style=\"color: #ff0000;\">\u201c&#8230; is not in the sudoers file\u201d<\/span><\/em>. After I checked, I found that my user account changed from Administrator to Standard. In short, I lost my Administrator account and my root privilege access.<\/p>\n<p>In Ubuntu, this can be an emergency problem, because you need a root access to do a lot of important command.<\/p>\n<p>The solution is very much simple.<\/p>\n<p><span style=\"color: #0000ff;\"><strong>Step 1.<\/strong><\/span> Restart the computer.<\/p>\n<p><span style=\"color: #0000ff;\"><strong>Step 2.<\/strong><\/span> Enter the GRUB and choose Recovery Mode.<\/p>\n<p><span style=\"color: #0000ff;\"><strong>Step 3<\/strong>.<\/span> Choose root mode. Ubuntu will bring you to a text command windows.<\/p>\n<p><strong><span style=\"color: #0000ff;\">Step 4.<\/span><\/strong> Type these commands:<\/p>\n<blockquote><p><span style=\"color: #ff0000;\">mount -o re,remount \/<\/span><\/p>\n<p><span style=\"color: #ff0000;\">adduser &lt;username&gt; sudo<\/span><\/p>\n<p><span style=\"color: #ff0000;\">exit<\/span><\/p><\/blockquote>\n<p>Type your own username. For example, if your username is \u201clinux\u201d, the command: <span style=\"color: #ff0000;\"><em>adduser linux sudo<\/em><\/span>. Now, you have our Administrator account again.[\/en]<\/p>\n\n","protected":false},"excerpt":{"rendered":"<p>[id]Kemarin dikejutkan dengan sebuah kasus di Ubuntu 13.04. Saat mau menginstall printer, ternyata password root yang saya masukkan tidak diterima. Ketika lewat Terminal dimasukkan perintah \u201csudo su\u201d, malah keluar tulisan&#8230; <a href=\"http:\/\/martianuswb.com\/?p=5188\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":4768,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[1407],"tags":[1421,1427,1430,1614,1694,1899],"class_list":["post-5188","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu","tag-account","tag-administrator","tag-akun","tag-hilang","tag-losing","tag-sudoers"],"_links":{"self":[{"href":"http:\/\/martianuswb.com\/index.php?rest_route=\/wp\/v2\/posts\/5188","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/martianuswb.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/martianuswb.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/martianuswb.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/martianuswb.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5188"}],"version-history":[{"count":0,"href":"http:\/\/martianuswb.com\/index.php?rest_route=\/wp\/v2\/posts\/5188\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/martianuswb.com\/index.php?rest_route=\/wp\/v2\/media\/4768"}],"wp:attachment":[{"href":"http:\/\/martianuswb.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5188"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/martianuswb.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5188"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/martianuswb.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}