useradd ubuntu code example

Example 1: ubuntu adduser

sudo adduser username
sudo usermod -aG sudo username

Example 2: libpng12.so.0 ubuntu 18.04

wget -q -O /tmp/libpng12.deb http://mirrors.kernel.org/ubuntu/pool/main/libp/libpng/libpng12-0_1.2.54-1ubuntu1_amd64.deb
dpkg -i /tmp/libpng12.deb
rm /tmp/libpng12.deb

Example 3: ubuntu passwordless sudo

sudo vim /etc/sudoers
# Find `includedir /etc/sudoers.d` usually last line of file
username ALL=(ALL) NOPASSWD: ALL

Example 4: allintext:ubuntu "new user"command

sudo adduser userNameHere

Tags:

Sql Example