Obviously it will be slightly different depending on your network and version but it will look something like this. Kittell.net WARNING This computer system is the property of Kittell.net. It may be accessed and used only for authorized Kittell.net business by authorized personnel. Unauthorized access or use of this computer…
Category: UNIX Shell Scripts
OpenSSL – Decode/Read CSR
Sometimes you when a SSL CSR isn’t named properly you need to get the details of it, the code below will help. Note: Depending on version and OS the placement numbers (-f5 for example) may be slightly off. Once you have created the shell script call to it with the…
Ubuntu – Remove Preloaded Applications
Installing Ubuntu for a server OS? The code below will remove some of the preloaded applications that are needed on a server. Arguably you could remove Gnome in general and all Gtk but that depends on how you want to run your server.
DirecTV – API JSON Service
If you have your DirecTV Unit plugged into your network at home you could run a couple fun commands.
Mac OSX Terminal – Lynx HTML Parsing
Lynx has a lot of good purposes but in this example below I’m simply going to strip URLs from a bookmarks HTML file exported from Chrome. If you have created folders and links all over the place in Chrome or Firefox this below will be helpful
Red Hat / CentOS / Fedora – Create Jailed SFTP User
If you are working on a project and need SFTP capabilities but don’t want users to see each other’s files create a SFTP Jailed server. Assumptions for the code below is that you are running Red Hat, CentOS, or Fedora and already have the OS running. NOTE: In this first…
UNIX – SED Replace Tab with Space(s)
Originally found at https://linuxconfig.org/replace-all-tab-characters-with-spaces
Azure – CLI – Build Windows/UNIX VM Function (With or without public IP)
In the functions below the VM name is used in all of the pieces to build the VM to simplify documentation. Important Items: As I use a Firewall appliance in Azure I do not set Network Security Groups (NSG). I have a predefined virtual network (VN) and predefined network subnet…
Ubuntu – Require Sudo Rights To Shutdown
If you are working with UNIX and you need to remove the ability for normal users to shutdown you can make this file change. This change will simply require a user with sudo access to type in their password before the machine can shutdown. There’s a couple changes I made…