OpenDJ – reset Directory Manager’s password

Stop OpenDJ service

bin/stop-ds

Generate an encoded password for Directory Manager

bin/encode-password -s SSHA512 -c MyN3wPa88w0rd
Encoded Password:  "{SSHA512}BmU5JuOZW6c0ngGetV1J8EG5UgWqyS5k/2JoJEEnx/V/c6EbnXvFwyLFG7ZWZm3oAwCmlht28OYnwQK+X8yLMV+dZJ3cBvOd"

Edif the config/config.ldif file and replace userpassword.

dn: cn=Directory Manager,cn=Root DNs,cn=config
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: top
objectClass: ds-cfg-root-dn-user
userpassword: {SSHA512}BmU5JuOZW6c0ngGetV1J8EG5UgWqyS5k/2JoJEEnx/V/c6EbnXvFwyLFG7ZWZm3oAwCmlht28OYnwQK+X8yLMV+dZJ3cBvOd

Start OpenDJ service

bin/start-ds

Tribute to Ludovic Poitou https://ludopoitou.com/2011/06/30/newbie-help-how-to-reset-the-directory-managers-password/

Install additions to Ubuntu server

Prereq is a ”vanilla” Ubuntu 16.04 LTS server

Update Ubuntu

$sudo apt-get update
$sudo apt-get upgrade
($sudo apt-get dist-upgrade)
$sudo apt-get autoremove

Install ntpd and unzip

$ sudo apt-get install ntp unzip

Install xinit

$ sudo apt-get install xinit
($ sudo apt-get install x11-apps)

Install Minimal Xfce Desktop

$ sudo apt-get install --no-install-recommends xubuntu-desktop

Tribute to Dan Nanni http://ask.xmodulo.com/install-minimal-ubuntu-desktop.html for the info on How to install minimal Ubuntu desktop

Install xRDP

$ sudo apt-get install xrdp

Change keyboard settings

$ sudo dpkg-reconfigure keyboard-configuration

Change time zone settings

$ sudo dpkg-reconfigure tzdata