It’s always a good idea to update your password on a regular basis and use a unique password for each account.

As a regular user in Ubuntu you can only change your own password. The root user and users with sudo privileges can change another user’s passwords and define how the password can be used or changed.

This tutorial describes how to change a user password in Ubuntu from the command line, or through the Ubuntu GUI. weiterlesen

1. Overview

The term socket programming refers to writing programs that execute across multiple computers in which the devices are all connected to each other using a network.

There are two communication protocols that one can use for socket programming: User Datagram Protocol (UDP) and Transfer Control Protocol (TCP).

The main difference between the two is that UDP is connectionless, meaning there is no session between the client and the server while TCP is connection-oriented, meaning an exclusive connection must first be established between client and server for communication to take place.

This tutorial presents an introduction to sockets programming over TCP/IP networks and demonstrates how to write client/server applications in Java. UDP is not a mainstream protocol and as such may not be often encountered.

weiterlesen

Ubuntu, as any other Linux distribution is a multi-user operating system. Each user can have different permission level and specific settings for various command line and GUI application.

Knowing how to add and remove users is one of the basic skills a Linux user should know.

In this tutorial, we will show you how to add and remove users on Ubuntu 18.04.

Prerequisites

To be able to create and remove users you need to be logged in as root or user with sudo privileges. weiterlesen

On Ubuntu, the system’s timezone is set during the install, but it can be easily changed at a later time.

Using the correct timezone is important for many systems related tasks and processes. For example, the cron daemon uses the system’s timezone for executing cron jobs, and the timestamps in the log files are based on the same timezone.

This tutorial demonstrates how to set or change the timezone on Ubuntu 18.04 and previous versions from the command line, or through the GUI. The same instructions apply for any Ubuntu-based distribution, including Kubuntu, Linux Mint, and Elementary OS.

Prerequisites

You’ll need to be logged in as a user with sudo privileges in order to change the system’s timezone. weiterlesen

This tutorial will guide you through the process of changing the hostname on an Ubuntu 18.04 system.

The hostname is set at the time when the Ubuntu operating system is installed or if you are spinning up a virtual machine it is dynamically assigned to the instance at startup.

The method described in this guide will work without the need of restarting your system.

Although this tutorial is written for Ubuntu 18.04 the same instructions apply for Ubuntu 16.04 and any Ubuntu-based distribution, including Linux Mint and Elementary OS.

Prerequisites

Before continuing with this tutorial, make sure you are logged in as a user with sudo privileges.

A hostname is a label that identifies a machine on the network. You shouldn’t use the same hostname on two different machines on a same network. weiterlesen