The sudo command (short for Super-user do) is a program designed to allow users to execute commands with the security privileges of another user, by default the root user.

In this guide, we will show you how to create a new user on a Debian system and give it sudo access.

You can use this user account to execute administrative commands without a need to log in to your Debian server as a root user. weiterlesen

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