a macro is a document can steal cookies from your browser
Presuming you meant a "macro in a document" then holy shit it's even worse than I thought. I mean, I've known since about 1997 that Office macros were fucked, but holy shit that's bad.
There's any number of tools under linux to prevent that, from using its built-in permissions to prevent that, to packages like SELinux or AppArmor.
From a cybersec consultant - don't use windows. Yes, I tell my clients who have given M$ millions this same advice. Linux is far easier to secure (and recover), and if it is breached, you sure as hell don't need to "nuke it from orbit" (whatever the fuck that means).
For a somewhat comprehensive take, check out the Arch Wiki's discussion of dm-crypt. Along with covering the various considerations to be made, the technical guides are solid for non-arch-specific commands.
The option I found & used for a while for your use case was to put the key on a USB drive. Had to do some bash trickery to get it to work with Arch's initcpio. If you're on CentOS/Rocky/Alpine/RHEL, I do believe dracut has similar hooks.
Though if I wanted to remove the USB while the system was live, I had to write a custom hook to load the key into a transient ramdisk. Otherwise it would crash randomly.
But if you do have a TPM and are just lost on how to use it, check out how easy it is with cryptenroll. Just got this working w/ a custom set of registers acting as the key.
Which directory is it failing on? Looks like the script validates four directories under /etc/ssl and if any of them are missing, it bails out. So which message prints out?
But also, as has essentially already been pointed out, running your own mail server is going to be painful. Even if you get the install completed & configured correctly, and even if you get your DNS records set up correctly to be able to send mail, your ISP will likely block all the SMTP, POP3, and IMAP ports.
And even if they don't, you'll be relentlessly scanned & prodded by automated hacking tools. Do you have a security monitoring & maintenance plan in place to prevent that? If it does get hacked, how will you know? What happens if you're hacked and don't know it, and the hacker uses your machine for something nefarious, like a botnet or serving CP? Now you're on the hook for felony activity.
Have you considered putting it in time-out? Or maybe ground it for a week? It's important for servers to be responsible before being put in production. You have to enforce consequences when it's not lest it go feral.
There are definitely tools on linux to help with this. Check out the Arch Wiki's SMART page to get started.
Even if you're not running Arch, the guide is still somewhat relevant. Key challenge will be figuring out the package name for smartmontools on whatever distro you are using. Try searching with the package managers first.
When I was first starting out, I went to staffing agencies like Robert Half Tech or Nelson Staffing (both in California). Not sure what that world of contract help looks like today, but I'm sure it still exists in some form.
Basically, you take low-wage, medium-skill tech gigs for a year or two with them, with each project anywhere between four weeks and a year. You'll learn something on each project, make some connections, and gain valuable work experience. After about two years, you should have enough experience to start applying for FTE roles.
The other thing is that when you're on these engagements, you might also get a temp-to-hire situation. Treat Every. Single. One. as a working interview.
Signed up for a new ISP recently as I had just moved. They told me the speed tier I selected had a 1.2TB/mo data cap. I immediately responded that if they ever throttle my traffic I'm leaving.
No problems yet, but also haven't checked my data volume recently. I do have streaming running for 10+ hrs/day, so it's gotta be relatively high.
they can apparently see all my TLS traffic if i keep them
That's not really true. There is a long-odds attack where a cert's private key is used to sign a malicious cert that is then used to MITM the traffic. Making this work is complex and expensive. If you're not a high-value target to begin with (in which case you'd already have a security team), the probability you get hit with this attack is incredibly low. Who's gonna pay for it? Buy a lotto ticket if you think it'll happen.
Plus, various three-letter orgs, your ISP(s), and many, many surveillance capitalists are already spying on most of your traffic anyway.
Across the four machines I've had, there's been zero quality issues. They last about two years each and I only get a new one to get a h/w upgrade; the previous three all still work fine.
Surprised no one's mentioned System76 yet. Purpose-built for linux (and they ship their own distro, PopOS!), with a variety of form factors and h/w specs.
I'm a devoted user, typing this from my fourth s76.
Hehe, from an HSU alum... this is a fantastic place to get stoned or trip balls
Who's your ISP? In the US, most of them block 23,25,80,139,389, and even 465 and 993
Kitsch.
Presuming you meant a "macro in a document" then holy shit it's even worse than I thought. I mean, I've known since about 1997 that Office macros were fucked, but holy shit that's bad.
There's any number of tools under linux to prevent that, from using its built-in permissions to prevent that, to packages like SELinux or AppArmor.
Fuck windoze.
From a cybersec consultant - don't use windows. Yes, I tell my clients who have given M$ millions this same advice. Linux is far easier to secure (and recover), and if it is breached, you sure as hell don't need to "nuke it from orbit" (whatever the fuck that means).
nmap
For a somewhat comprehensive take, check out the Arch Wiki's discussion of dm-crypt. Along with covering the various considerations to be made, the technical guides are solid for non-arch-specific commands.
The option I found & used for a while for your use case was to put the key on a USB drive. Had to do some bash trickery to get it to work with Arch's initcpio. If you're on CentOS/Rocky/Alpine/RHEL, I do believe dracut has similar hooks.
Though if I wanted to remove the USB while the system was live, I had to write a custom hook to load the key into a transient ramdisk. Otherwise it would crash randomly.
But if you do have a TPM and are just lost on how to use it, check out how easy it is with cryptenroll. Just got this working w/ a custom set of registers acting as the key.
How much RAM ya got in that thing? Did you go with ECC?
Which directory is it failing on? Looks like the script validates four directories under
/etc/ssland if any of them are missing, it bails out. So which message prints out?But also, as has essentially already been pointed out, running your own mail server is going to be painful. Even if you get the install completed & configured correctly, and even if you get your DNS records set up correctly to be able to send mail, your ISP will likely block all the SMTP, POP3, and IMAP ports.
And even if they don't, you'll be relentlessly scanned & prodded by automated hacking tools. Do you have a security monitoring & maintenance plan in place to prevent that? If it does get hacked, how will you know? What happens if you're hacked and don't know it, and the hacker uses your machine for something nefarious, like a botnet or serving CP? Now you're on the hook for felony activity.
Best of luck.
Well how many time zones are there??
Have you considered putting it in time-out? Or maybe ground it for a week? It's important for servers to be responsible before being put in production. You have to enforce consequences when it's not lest it go feral.
There are definitely tools on linux to help with this. Check out the Arch Wiki's SMART page to get started.
Even if you're not running Arch, the guide is still somewhat relevant. Key challenge will be figuring out the package name for smartmontools on whatever distro you are using. Try searching with the package managers first.
Must be pretty easy to find with that space arrow showing the way
When I was first starting out, I went to staffing agencies like Robert Half Tech or Nelson Staffing (both in California). Not sure what that world of contract help looks like today, but I'm sure it still exists in some form.
Basically, you take low-wage, medium-skill tech gigs for a year or two with them, with each project anywhere between four weeks and a year. You'll learn something on each project, make some connections, and gain valuable work experience. After about two years, you should have enough experience to start applying for FTE roles.
The other thing is that when you're on these engagements, you might also get a temp-to-hire situation. Treat Every. Single. One. as a working interview.
Signed up for a new ISP recently as I had just moved. They told me the speed tier I selected had a 1.2TB/mo data cap. I immediately responded that if they ever throttle my traffic I'm leaving.
No problems yet, but also haven't checked my data volume recently. I do have streaming running for 10+ hrs/day, so it's gotta be relatively high.
Well the endless years of drought didn't help
Don't use passwordless sudo. This gives you time to check the cmd as you type your password.
Do you have to use grub? I got secure boot, with LUKS unlocked by TPM, running pretty easily w/ systemd.
You're talking about this line?
"Warning: This allows anyone with access to the private key to intercept all of your TLS traffic. See HTTPS MITM proxy."
I stand by my statements. You really do need to read more to understand what this is saying and why.
That's not really true. There is a long-odds attack where a cert's private key is used to sign a malicious cert that is then used to MITM the traffic. Making this work is complex and expensive. If you're not a high-value target to begin with (in which case you'd already have a security team), the probability you get hit with this attack is incredibly low. Who's gonna pay for it? Buy a lotto ticket if you think it'll happen.
Plus, various three-letter orgs, your ISP(s), and many, many surveillance capitalists are already spying on most of your traffic anyway.
Read moar.
Is your boot partition encrypted as well? Otherwise,
FILES=(/path/to/key)is a leak of the key and your setup is not secure.My point was more that I get a new one every two years to get the latest specs. As I said, the old ones work just fine. They just don’t have 32GB RAM.
Across the four machines I've had, there's been zero quality issues. They last about two years each and I only get a new one to get a h/w upgrade; the previous three all still work fine.
Surprised no one's mentioned System76 yet. Purpose-built for linux (and they ship their own distro, PopOS!), with a variety of form factors and h/w specs.
I'm a devoted user, typing this from my fourth s76.
That's a great tool & all, but it's kinda useless w/out the debug symbols OP is looking for in the first place