vps_-_trisquel
Differences
This shows you the differences between two versions of the page.
vps_-_trisquel [2023/07/08 16:01] – created cardinal | vps_-_trisquel [2023/07/08 16:28] (current) – [Basics] New User cardinal | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Trisquel on SDF VPS ====== | ||
+ | |||
+ | ===== Introduction ===== | ||
+ | |||
+ | Trisquel is a distro derived from Ubuntu, modified to remove non-free software. | ||
+ | |||
+ | Reasons to run Trisquel: | ||
+ | * based on Ubuntu/ | ||
+ | * stable LTS releases | ||
+ | * active project since 2007 | ||
+ | * endorsed by the Free Software Foundation | ||
+ | |||
+ | ===== Basics ===== | ||
+ | |||
+ | ==== Root Login ==== | ||
+ | |||
+ | The default root login is root/root. | ||
+ | |||
+ | The first thing you should do is to change the password by running `passwd` on the command line. | ||
+ | |||
+ | < | ||
+ | root@trisquel: | ||
+ | |||
+ | Enter new UNIX password: | ||
+ | Retype new UNIX password: | ||
+ | </ | ||
+ | |||
+ | However, you may encounter this error message: | ||
+ | |||
+ | < | ||
+ | passwd: Authentication token manipulation error | ||
+ | passwd: password unchanged | ||
+ | </ | ||
+ | |||
+ | All you need to do is reboot. | ||
+ | |||
+ | < | ||
+ | root@trisquel: | ||
+ | </ | ||
+ | |||
+ | Then '' | ||
+ | |||
+ | After this, it is highly recommended to create a new user for normal activities and disable root login. | ||
+ | |||
+ | ==== New User ==== | ||
+ | |||
+ | You should add a new user account for regular use. Replace ''< | ||
+ | |||
+ | < | ||
+ | root@trisquel: | ||
+ | root@trisquel: | ||
+ | Enter new UNIX password: | ||
+ | Retype new UNIX password: | ||
+ | passwd: password updated successfully | ||
+ | </ | ||
+ | |||
+ | The '' | ||
+ | |||
+ | Presumably, you need sudo privileges for this newly created user, so you would add this user to the “sudo” group so that it can run commands as root. | ||
+ | |||
+ | < | ||
+ | usermod -aG sudo < | ||
+ | </ | ||
+ | |||
+ | ===== Security Checklist ===== | ||
+ | |||
+ | |||
+ | * Change the password of root user: '' | ||
+ | * Disable root access: ''/ | ||
+ | * Block unused ports: '' | ||
+ | * Change default SSH port: ''/ | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | ====== References ====== | ||
+ | |||
+ | [[https:// | ||
+ | |||