{"id":7209,"date":"2020-11-27T21:45:11","date_gmt":"2020-11-28T02:45:11","guid":{"rendered":"https:\/\/www.rushworth.us\/lisa\/?p=7209"},"modified":"2020-11-28T22:40:21","modified_gmt":"2020-11-29T03:40:21","slug":"changing-default-shell-with-user-level-access","status":"publish","type":"post","link":"https:\/\/www.rushworth.us\/lisa\/?p=7209","title":{"rendered":"Changing Default Shell With User-Level Access"},"content":{"rendered":"<p>To change the default shell <em>without<\/em> root access, use chsh. You will need to use a valid shell. To obtain a list, run &#8221; chsh &#8211;list-shells&#8221;<\/p>\n<p>Once you have the proper path for your preferred shell, use chsh with the &#8211;shell option. For example, to use the Korn shell as default, run &#8220;chsh &#8211;shell \/bin\/ksh username&#8221;<\/p>\n<p><a href=\"https:\/\/www.rushworth.us\/lisa\/?attachment_id=7210\" rel=\"attachment wp-att-7210\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7210\" src=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2020\/11\/changingShellWithUserLevelAccess.png\" alt=\"\" width=\"670\" height=\"90\" srcset=\"https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2020\/11\/changingShellWithUserLevelAccess.png 670w, https:\/\/www.rushworth.us\/lisa\/wp-content\/uploads\/2020\/11\/changingShellWithUserLevelAccess-300x40.png 300w\" sizes=\"auto, (max-width: 670px) 100vw, 670px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To change the default shell without root access, use chsh. You will need to use a valid shell. To obtain a list, run &#8221; chsh &#8211;list-shells&#8221; Once you have the proper path for your preferred shell, use chsh with the &#8211;shell option. For example, to use the Korn shell as default, run &#8220;chsh &#8211;shell \/bin\/ksh &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30],"tags":[294,1188],"class_list":["post-7209","post","type-post","status-publish","format-standard","hentry","category-system-administration","tag-linux","tag-shell"],"_links":{"self":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/7209","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7209"}],"version-history":[{"count":1,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/7209\/revisions"}],"predecessor-version":[{"id":7211,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/7209\/revisions\/7211"}],"wp:attachment":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7209"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7209"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7209"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}