Quick and dirty ldap/sudo migration

You stand up a new HP-UX host. sudo and ldap won’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 /etc/opt/ldapux

scp -rp * working_host:/$PWD

scp -p /etc/sudoers targethost:/etc

 

scp –p /sbin/init.d/ ldapclientd.rc  targethost:/sbin/init.d