{"id":228,"date":"2011-08-26T09:35:17","date_gmt":"2011-08-26T14:35:17","guid":{"rendered":"http:\/\/www.hpux.ws\/?p=228"},"modified":"2011-08-26T09:38:43","modified_gmt":"2011-08-26T14:38:43","slug":"quick-and-dirty-ldapsudo-migration","status":"publish","type":"post","link":"https:\/\/www.hpux.ws\/?p=228","title":{"rendered":"Quick and dirty ldap\/sudo migration"},"content":{"rendered":"<p>You stand up a new HP-UX host. sudo and ldap won&#8217;t work.<\/p>\n<p>You know it should have been built into the Golden image but you never had time. Your organization requires sudo and ldap.<\/p>\n<p>Temporary procedure to restore ldap and sudo functionality.<\/p>\n<p><strong>HP-UX 11.31 Itanium<\/strong><\/p>\n<p><strong>Step 1: Log on to a working production box.<\/strong><\/p>\n<p><strong>cd \/etc\/opt\/ldapux<\/strong><\/p>\n<p><strong>scp -rp * working_host:\/$PWD<\/strong><\/p>\n<p><strong>scp -p \/etc\/sudoers targethost:\/etc<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong>scp \u2013p \/sbin\/init.d\/ ldapclientd.rc\u00a0 targethost:\/sbin\/init.d<\/strong><br \/>\n<span style=\"text-decoration: underline;\"> <\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>You stand up a new HP-UX host. sudo and ldap won&#8217;t work. You know it should have been built into the Golden image but you never had time. Your organization requires sudo and ldap. Temporary procedure to restore ldap and sudo functionality. HP-UX 11.31 Itanium Step 1: Log on to a working production box. cd [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"_kadence_starter_templates_imported_post":false,"footnotes":""},"categories":[28,8],"tags":[],"class_list":["post-228","post","type-post","status-publish","format-standard","hentry","category-capacity-planning","category-sysadmin"],"_links":{"self":[{"href":"https:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/posts\/228"}],"collection":[{"href":"https:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=228"}],"version-history":[{"count":4,"href":"https:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/posts\/228\/revisions"}],"predecessor-version":[{"id":230,"href":"https:\/\/www.hpux.ws\/index.php?rest_route=\/wp\/v2\/posts\/228\/revisions\/230"}],"wp:attachment":[{"href":"https:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=228"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=228"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hpux.ws\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=228"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}