The Gaea Torus from Varley's trilogy. 1300km diameter; a number of wildly different species; with a few intelligent airships thrown in for good measure. What's not to like?
Don't neglect security.
Use a firewall (ufw); install then lynis app.
Disable root login over ssh.
Install arch-audit to check for vulnerable packages.
There are a number of webpages out there that have more details.
Hey, thanks for taking the time to provide a thoughtful and informative reply. Appreciate the advice, as I'm still learning - and I suspect will continue to do so for along time.
I use a USB external ssd with bootable win10 on it (M.2 with usb case). Boot and select the ext ssd from bios. Keeps the OS completely separate, and saves having to rebuild if i upgrade or change pc's.
Use nproc to limit the effects of forkbombs (set in /etc/security/limits.conf)
So, fork bombs are fairly non-malignant, and not all that common. It's basically where you get a script or program that calls itself multiple times. However, if you do come across this, it may fill your available ram and choke your pc.
So, the intent here is to limit the amount of processes that can be spawned in Linux, and enforcing a predetermined limit by editing /etc/security/limits.conf
If you run: nproc --all
The returned number represents - 'Threads per core' X 'cores per socket' X 'sockets'
On the system that i'm running now, I see the output of lscpu as:
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 2
Core(s) per socket: 2
Socket(s): 1
The nproc number for preventing forkbombs is not fixed, and should be based on your possible max system usage.
You can calculate 'A' number for nproc for your system by running:
Hint - open as many apps as you can to give max numbers. The nproc number will change depending on your load. Then double that number, to ensure that you don't choke your own system.
TBH, I'd keep my mouth shut. If you are using it in commercial or academic offices, then that's the company / Uni problem. If you are using it as a home business, then I doubt you'd come to the attention of Oracle, as you don't look like a commercial user to their systems. I once worked for a small academic institution, we received an email from Oracle stating that our IP addresses had downloaded the extension pack 4 times. Oracle wanted us to buy the license pack - that's around USD $6,000 for 100 users (minimum purchase). 'No thanks', was our answer, as we were not formally supporting or supplying Vbox to our users.
I have a small external USB ssd with Windows on it, that I use for this (and other windows tasks) . Plug the usb in to the laptop, reboot, and select the ssd from the boot menu bios.
Thanks - and for Canada only you could use :
'sudo reflector --verbose -c Canada --latest 5 --age 12 --protocol https --sort rate --save /etc/pacman.d/mirrorlist'
If it's on the mirror page https://www.archlinux.org/mirrors/status/list and the fastest, why not?
Obviously, you can pick the top five locally - like Waterloo and Princeton, for example, if speed is not a concern. As for security of the mirrors, that's another discussion.
I do think that any more than five in the list is unnecessary.
I have five, and I live in Canada, too. I run reflector every so often:
'reflector --verbose --latest 5 --sort rate --save /etc/pacman.d/mirrorlist'
This takes the top five fastest mirrors and overwrites the older mirrorlist.
Usually do this before I run syu.
Funnily enough, not too many servers in Canada are the fastest.
The Space Eater, by David Langford.
Add Forbidden Planet, Quatermass and the pit.
The Gaea Torus from Varley's trilogy. 1300km diameter; a number of wildly different species; with a few intelligent airships thrown in for good measure. What's not to like?
The Aquila Rift, from Love Death and Robots?
There are times when It feels like the star trek equivalent of Down Periscope.
'The Space Eater' by David Langford. If the only way to achieve interstellar travel is via a 1 inch wormhole, you might get a little cut up over it.
https://wiki.archlinux.org/title/Uncomplicated_Firewall - NB: correct link.
Don't neglect security.
Use a firewall (ufw); install then lynis app.
Disable root login over ssh.
Install arch-audit to check for vulnerable packages.
There are a number of webpages out there that have more details.
Hey, thanks for taking the time to provide a thoughtful and informative reply. Appreciate the advice, as I'm still learning - and I suspect will continue to do so for along time.
Well, that's the wonderful thing about Linux, it has so many ways to not fix a problem.
Security:
- Deny root login over SSH: https://www.tecmint.com/disable-ssh-root-login-in-linux/
- Only root should have UID=0, so type the following command to display all accounts with UID set to 0: # awk -F: '($3 == "0") {print}' /etc/passwd
- Prevent all root remote logins - edit the /etc/security/access.conf file. Add line: "-:root:ALL except LOCAL"
- Install arch-audit
Take a look at https://github.com/CyberShadow/aconfmgr
Note the comments on ansible vs aconfmgr
Clonezilla works well. Also gnome disk has the ability to create disk images. You can use gparted to adjust partition sizes afterwards, if required.
I use a USB external ssd with bootable win10 on it (M.2 with usb case). Boot and select the ext ssd from bios. Keeps the OS completely separate, and saves having to rebuild if i upgrade or change pc's.
Lsblk shows correct partitions?
Fstab also shows correct partitions?
Use nproc to limit the effects of forkbombs (set in /etc/security/limits.conf)
So, fork bombs are fairly non-malignant, and not all that common. It's basically where you get a script or program that calls itself multiple times. However, if you do come across this, it may fill your available ram and choke your pc.
So, the intent here is to limit the amount of processes that can be spawned in Linux, and enforcing a predetermined limit by editing /etc/security/limits.conf
If you run: nproc --all
The returned number represents - 'Threads per core' X 'cores per socket' X 'sockets'
On the system that i'm running now, I see the output of lscpu as:
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 2
Core(s) per socket: 2
Socket(s): 1
The nproc number for preventing forkbombs is not fixed, and should be based on your possible max system usage.
You can calculate 'A' number for nproc for your system by running:
ps aux -L | cut --delimiter=" " --fields=1 | sort | uniq --count | sort --numeric-sort | tail --lines=1
(credit to m.ceppi)
Hint - open as many apps as you can to give max numbers. The nproc number will change depending on your load. Then double that number, to ensure that you don't choke your own system.
See also THE ARCHWIKI: https://wiki.archlinux.org/index.php/Limits.conf
Have you considered a hammock?
See: https://www.thesleepjudge.com/benefits-sleeping-hammock/ and https://www.reddit.com/r/IAmA/comments/10pv83/due_to_interest_i_sleep_in_a_hammock_instead_of_a/
TBH, I'd keep my mouth shut. If you are using it in commercial or academic offices, then that's the company / Uni problem. If you are using it as a home business, then I doubt you'd come to the attention of Oracle, as you don't look like a commercial user to their systems. I once worked for a small academic institution, we received an email from Oracle stating that our IP addresses had downloaded the extension pack 4 times. Oracle wanted us to buy the license pack - that's around USD $6,000 for 100 users (minimum purchase). 'No thanks', was our answer, as we were not formally supporting or supplying Vbox to our users.
One point - the VirtualBox Extensions pack is free for personal use. It is not free to commercial users. Oracle is making a point of tracking IP addresses of users who download the Extensions pack, and - if a business - contacting them to ask that they purchase the commercial license, which is not cheap as it only comes in 100 user packs. See: https://www.virtualbox.org/wiki/VirtualBox_PUEL and https://web.archive.org/web/20171201035409/https://www.virtualbox.org/wiki/Licensing_FAQ
I have a small external USB ssd with Windows on it, that I use for this (and other windows tasks) . Plug the usb in to the laptop, reboot, and select the ssd from the boot menu bios.
run lynis - test your security.
Thanks - and for Canada only you could use :
'sudo reflector --verbose -c Canada --latest 5 --age 12 --protocol https --sort rate --save /etc/pacman.d/mirrorlist'
If it's on the mirror page https://www.archlinux.org/mirrors/status/list and the fastest, why not?
Obviously, you can pick the top five locally - like Waterloo and Princeton, for example, if speed is not a concern. As for security of the mirrors, that's another discussion.
I do think that any more than five in the list is unnecessary.
I have five, and I live in Canada, too. I run reflector every so often:
'reflector --verbose --latest 5 --sort rate --save /etc/pacman.d/mirrorlist'
This takes the top five fastest mirrors and overwrites the older mirrorlist.
Usually do this before I run syu.
Funnily enough, not too many servers in Canada are the fastest.
Clam av and clam tk, are common AV programs. Take a look at Sophos and F-prot too.