Entropy Reduction

Personal log of yet another digital native.


Project maintained by andre-abadi Hosted on GitHub Pages — Theme by mattgraham

Contents

New User Sudo SSH Security Housekeeping Package Query Yaourt Cleanup

New User

Create user and add a password for them:

useradd -m -g wheel dancingborg passwd dancingborg

Sudo

Install sudo package to allow new user to execute elevated commands:

pacman -S sudo

Use dedicated editing tool to edit sudoers file:

visudo

Remove comment prefix # from default wheel entry to allow wheel users to sudo:

SSH Security

Disable root login via SSH:

vim /etc/ssh/sshd_config

Add: PermitRootLogin no

reboot

Login as user.

Housekeeping

Remove MOTD:

sudo rm /etc/motd

Enable Pacman colours:

vim /etc/pacman.conf

Reference

Install:

Package Query

Install Package Query by downloading and creating package manually:

Yaourt

Install Yaourt by downloading and creating package manually:

Cleanup

Remove leftover installation files:

[Reference][1] [1]: https://astrofloyd.wordpress.com/2015/01/17/installing-yaourt-on-arch-linux/)