HOME RESTORATION DIGITAL PHOTOS DIGITAL BOOKS PROFESSIONAL HISTORY CONTACT ME


Ubuntu 16 Post Installation Tasks

Domain name: example.com     Realm name: EXAMPLE.COM

Workgroup: EXAMPLE     Server IP address: xx.xx.xx.xx

Server name: linuxsvr01     Client name: linuxclnt01

Root password: ?Pa55w0rd!

After the installation of Ubuntu Server 16.04 login as root is not permitted. As I am testing various Linux distros in a lab situation it is easier to use the same login and for configuration it simpler without sudo. So to allow root login do the following

# sudo passwd
    Enter new UNIX password:
    Retype new UNIX password:
    passwd: password updated successfully

Login with root is now possible, to allow login with root from puTTY we can issue the following command

# sed -i 's/prohibit-password/yes/' /etc/ssh/sshd_config

Or you can change it manually to yes at line 28

# vi /etc/ssh/sshd_config
    27 LoginGraceTime 120
    28 PermitRootLogin yes
    29 StrictModes yes  
    

We can now use puTTY to get the updates

# apt-get update -y

And then update the system with the upgrade command

# apt-get upgrade -y