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: CentOS
Posts in this category are specific to CentOS and may or may not work on Fedora and Red Hat or other UNIX based systems.
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
Red Hat / CentOS / Fedora – Fix Yum Duplicates
When nothing else seemed to work this helped me to get rid of all the duplicates from failed yum updates. After trying the above I still had some duplicates on a different server but the ‘Remove Duplicates’ script below seemed to work fine for me. NOTE: I was looking at…
Strong Password
Need help with what a strong password is? Strong password recommendations are as follows: Must contain 14 or more characters Must contain upper and lower case letters Must contain a number or special character (e.g. !@#$%^) Must NOT be the same as your previous 12 passwords Must NOT be similar…
Uptime Formated
If you simply want uptime formatted this small script will help. Uptime by itself will display similar to: 20:25:48 up 3 days, 8:14, 1 user, load average: 2.07, 2.17, 2.35 Formatted using the code above will display similar to: 3 days, 8 hours, 15 minutes.
NMAP – Find Machines On Your Network
NMAP (a form of ARP list) is a tool for scanning your network for machines that are up or down along with pulling some helpful information from the machines that are up. Similar to Remotely Find Raspberry Pi IP but this is a bit more in-depth First install nmap if…
DigiCert – OpenSSL Certificate Conversion
I work with digicert® to get certificates. The way we get certificates sometimes requires me to convert the certificates, below is the process I use to get the formats for what I may need. This script assumes you have a directory with only the .csr file and the .zip file…
UNIX – Display Network Information
The following code will give you network specific information about your server/computer.