{"id":632,"date":"2008-01-20T11:26:11","date_gmt":"2008-01-20T15:26:11","guid":{"rendered":"http:\/\/www.wehuberconsultingllc.com\/wordpress\/?p=632"},"modified":"2008-01-20T20:12:04","modified_gmt":"2008-01-21T00:12:04","slug":"linux-tip-replacing-gksudo-for-centos-users","status":"publish","type":"post","link":"https:\/\/wehuberconsultingllc.com\/wordpress\/2008\/01\/20\/linux-tip-replacing-gksudo-for-centos-users\/","title":{"rendered":"Linux Tip: Replacing GKSUDO for CENTOS users"},"content":{"rendered":"<p>One of the annoying things about maintaining CENTOS installations is performing system maintenance as the super user from the command line. Don&#8217;t get me wrong but I was programming before graphical interfaces(BGI). The command line is a good and trusty way to perform maintenance. As long as everything works you can get by with a minimum of memorization. Since most of us live in an after graphical interfaces(AGI) world and we do not practice our Linux command line knowledge on a daily basis, we quickly get rusty on the tricks of the trade and yearn for an easier way. Something with a fast learning curve. This is precisely why we have graphical interfaces.<\/p>\n<p>For reasons I did not understand until today CENTOS does not make it easy to run graphical programs as the super user, such as nautilius and gedit. Ubuntu offers a fairly simple way to create menu items to start graphical programs as a super user, gksudo.&nbsp; CENTOS does not offer this utility in either Version 4 or 5. A similar utility, kdesu, was offered in CENTOS Version 4 but is not offered in CENTOS 5. Opening a terminal window and running SUDO is an pretty clumsy option so I was pretty sure that there probably was a better way! I wanted a menu item like the other system maintenance menu items that would authenticate me before running an application as a super user.<\/p>\n<p>Today I found the answer. Matt Hansen wrote a tip how to &#8220;<a href=\"http:\/\/fedoranews.org\/contributors\/matt_hansen\/nautilus\/\">How to run a program from GNOME menu with root privileges<\/a> &#8221; back in 2004. The tip uses a utility called consolehelper. You have to create a couple of configuration files but the whole process can be completed in about five minutes. It is interesting that today was the first time I found a reference that claims consolehelper is the &#8220;proper&#8221; way to solve the &#8220;missing&#8221; gksudo problem.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the annoying things about maintaining CENTOS installations is performing system maintenance as the super user from the command line. Don&#8217;t get me wrong but I was programming before graphical interfaces(BGI). The command line is a good and trusty way to perform maintenance. As long as everything works you can get by with a &hellip; <a href=\"https:\/\/wehuberconsultingllc.com\/wordpress\/2008\/01\/20\/linux-tip-replacing-gksudo-for-centos-users\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Linux Tip: Replacing GKSUDO for CENTOS users&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[5],"tags":[130],"class_list":["post-632","post","type-post","status-publish","format-standard","hentry","category-linux","tag-linux"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4iN3d-ac","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wehuberconsultingllc.com\/wordpress\/wp-json\/wp\/v2\/posts\/632","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wehuberconsultingllc.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wehuberconsultingllc.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wehuberconsultingllc.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wehuberconsultingllc.com\/wordpress\/wp-json\/wp\/v2\/comments?post=632"}],"version-history":[{"count":0,"href":"https:\/\/wehuberconsultingllc.com\/wordpress\/wp-json\/wp\/v2\/posts\/632\/revisions"}],"wp:attachment":[{"href":"https:\/\/wehuberconsultingllc.com\/wordpress\/wp-json\/wp\/v2\/media?parent=632"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wehuberconsultingllc.com\/wordpress\/wp-json\/wp\/v2\/categories?post=632"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wehuberconsultingllc.com\/wordpress\/wp-json\/wp\/v2\/tags?post=632"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}