{"id":8717,"date":"2015-04-09T18:58:02","date_gmt":"2015-04-09T17:58:02","guid":{"rendered":"https:\/\/wp.okra.host\/article\/switching-users\/"},"modified":"2021-03-07T14:48:20","modified_gmt":"2021-03-07T13:48:20","slug":"switching-users","status":"publish","type":"ht_kb","link":"https:\/\/kb.okra.host\/de\/article\/switching-users\/","title":{"rendered":"Benutzer umschalten"},"content":{"rendered":"<h2 id=\"overview\" >\u00dcbersicht<\/h2>\n<p>Newer platforms, <a title=\"Ermitteln der Plattformversion\" href=\"https:\/\/kb.okra.host\/de\/platform\/determining-platform-version\/\">v6+ Plattformen<\/a> specifically, permit switching users from the account user from the <a title=\"Zugriff auf das Terminal\" href=\"https:\/\/kb.okra.host\/de\/terminal\/accessing-terminal\/\">Terminal<\/a>. Once switched to the user, you assume the permission rights as this user, including the ability to remove files.<\/p>\n<h2 id=\"usage\" >Verwendung<\/h2>\n<p>Use <a href=\"http:\/\/apnscp.com\/linux-man\/man1\/su.1.html\">su<\/a> to switch users from the main user. You will not be required to enter the account password on v6+ platforms. You can also use <code>sudo rm<\/code> to remove files; be careful: any file can be removed! Before switching users, you will be prompted to enter your account password.<\/p>\n<h3 id=\"examples\" >Examples<\/h3>\n<p>To switch users (from admin user to &#8220;matt&#8221;):<\/p>\n<pre data-language=\"shell\"><code>su matt<\/code><\/pre>\n<p>To remove all files under <code>\/home\/matt<\/code> (as admin user):<\/p>\n<pre data-language=\"shell\"><code>sudo rm -rf \/home\/matt<\/code><\/pre>","protected":false},"excerpt":{"rendered":"<p>Overview Newer platforms, v6+ platforms specifically, permit switching users from the account user from the terminal. Once switched to the user, you assume the permission rights as this user, including the ability to remove files. Usage Use su to switch users from the main user. You will not be required&#8230;<\/p>","protected":false},"author":1,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[68],"ht-kb-tag":[],"class_list":["post-8717","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-terminal"],"_links":{"self":[{"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb\/8717","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/comments?post=8717"}],"version-history":[{"count":1,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb\/8717\/revisions"}],"predecessor-version":[{"id":8718,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb\/8717\/revisions\/8718"}],"wp:attachment":[{"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/media?parent=8717"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb-category?post=8717"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/kb.okra.host\/de\/wp-json\/wp\/v2\/ht-kb-tag?post=8717"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}