Linux cheatsheet

Handy linux things.

linux
server
newuser
ssh
root
adduser
linux

Published 4 years ago

Adding a new user to your Linux server

In your terminal run the below command. It will ask you to set a new password, create a randomly generated one to be safe. After this it will also ask you to set some user information, which you can skip.

adduser username

Sudo permissions

Grant sudo permissions to your new username. To see what permissions you have set already on an account by running:

id username

Add sudo permissions:

usermod -aG sudo username

Change to the new user by running

su - username

Confirm you are now the new user by running:

whoami

Let's chat about your next project

Whether you're looking for a single contractor or a full team, I regularly collaborate with a trusted collective of designers and developers to deliver large-scale projects.

See also...

KickTown Football

Website Development for KickTown Football: Custom Build, Merchandise Store, and Booking System

Stock Investment App

Mobile and web app for stock investment, built with TypeScript, React, and WebSockets, offering real-time data and responsive design.

CnCNet - Website & App Development

Comprehensive design and development of web and desktop apps for CnCNet

Bespoke AR Web Configurator for E-Bikes

A bespoke augmented reality web configurator developed to showcase the client's E-Bike, offering fully customizable options such as color selections and feature configurations.

Oriental Garden Restaurant

A complete website redesign featuring a new online ordering system for enhanced customer experience and increased revenue.

Web App Visualizer - Facial Cosmetic Treatment Simulation

A React and TypeScript-powered web app designed to visualize facial cosmetic treatment results for enhanced customer decision-making

React Native - Android & iOS App

Development of a bespoke Android & iOS app for a Health technology startup, built with React Native & TypeScript.

Website - C&C Community

Enhancing the platform with a sleek user interface, improved SEO coverage, and integrated content features like Twitch, and Steam. Offering a central resource for Command & Conquer fans and creators.