{"id":87,"date":"2018-10-21T22:46:03","date_gmt":"2018-10-21T20:46:03","guid":{"rendered":"https:\/\/leeryanrs.com\/?p=87"},"modified":"2018-10-21T22:46:03","modified_gmt":"2018-10-21T20:46:03","slug":"guest-account-access-in-ubuntu","status":"publish","type":"post","link":"https:\/\/leeryanrs.com\/?p=87","title":{"rendered":"Guest account access in ubuntu"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">This came in handy when I needed to disable &#8220;guests&#8221; from logging into an Ubuntu kiosk I had made. My only administrative access to this machine was via CLI\/SSH.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo sh -c 'printf \"[Seat:*]\\nallow-guest=false\\n\" >\/etc\/lightdm\/lightdm.conf.d\/50-no-guest.conf'<br><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The above needs to be in one single line. The below restores the guest login feature &#8211;\u00a0<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo rm \/etc\/lightdm\/lightdm.conf.d\/50-no-guest.conf<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This came in handy when I needed to disable &#8220;guests&#8221; from logging into an Ubuntu kiosk I had made. My only administrative access to this machine was via CLI\/SSH. sudo sh -c &#8216;printf &#8220;[Seat:*]\\nallow-guest=false\\n&#8221; >\/etc\/lightdm\/lightdm.conf.d\/50-no-guest.conf&#8217; The above needs to be in one single line. The below restores the guest login feature &#8211;\u00a0 sudo rm \/etc\/lightdm\/lightdm.conf.d\/50-no-guest.conf<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,10,17],"tags":[20,35,50],"class_list":["post-87","post","type-post","status-publish","format-standard","hentry","category-accounts","category-login","category-ubuntu","tag-accounts","tag-login","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/leeryanrs.com\/index.php?rest_route=\/wp\/v2\/posts\/87","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/leeryanrs.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/leeryanrs.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/leeryanrs.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/leeryanrs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=87"}],"version-history":[{"count":0,"href":"https:\/\/leeryanrs.com\/index.php?rest_route=\/wp\/v2\/posts\/87\/revisions"}],"wp:attachment":[{"href":"https:\/\/leeryanrs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=87"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/leeryanrs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=87"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/leeryanrs.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=87"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}