• 0 Posts
  • 14 Comments
Joined 1 year ago
cake
Cake day: June 14th, 2023

help-circle




  • I used awk to migrate users from one system to another. I created template scripts for setting up the user in the new system, I dumped the data from the old system, then used awk to process the dump and create scripts for each user in the new system. That was a fun project.






  • Yes that’s the right way to block root login. An added filter you can use the ‘match’ config expression to filter logins even further.

    If you’re on the open network, your connection will be heavily hit with login attempts. That is normal. But using another service like Fail2Ban will stop repeated hits to your host.

    Ssh listens on port 22, as soon as a connection is made the host moves the connection to another port to free up 22 for other new connections. Btw: I wasn’t thinking clearly here. Out going connections won’t be using port 22, but the listening incoming port is always 22.





  • After the install. Create admin and user accounts not tied to ms. Use the user account normally, and when you need admin you enter the second account details.

    Use Sophia script to clean up all the advert apps bundled with win11.

    I wish I could find a script to remove the advert features from edge for when I have to office. Mozilla Firefox is your day to day browser.

    Use chocolatey.org to install ur apps. When you do updates, one command can do it all.

    Check start-up scripts, and ensure there is nothing that doesn’t need to be there. Teams no, zoom also no.