Advanced Search
Search Results
63 total results found
Password Expiration Login script vba
VBA Code to check for password expiry and display a message if the password expires in the next 10 days. Add-Type -AssemblyName PresentationFramework curruser=Get−ADUser−Identity env:username -Properties 'msDS-UserPasswordExpiryTimeComputed','PasswordNeve...
Docker Container hostname
Add the following to a Stacks file hostname: {hostname} For a Docker Run command-h {hostname}
Vikunja CLI from Docker
Gathered from the Vikunja Docs Page Using the cli in docker When running Vikunja in docker, you’ll need to execute all commands in the api container. Instead of running the vikunja binary directly, run it like this: docker exec <name of the vikunja api cont...
Change Local Computer Name
Right click start button> choose Settings. In the search box, search for (view your PC name)> click (Rename this PC) use company standard naming for devices.
Check if a reboot is required after installing Linux updates
RedHat OS family Applies to: RedHat / CentOS / Amazon Linux Don’t forget that you might need to reboot because of core library updates, at least if it is glibc. (And also, services may need to be restarted after updates). If you install the yum-utils pack...
Make elevated network drive mappings show up in Explorer
Create a REG_DWORD named EnableLinkedConnections in HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System, set it to 1 and restart. Setting this registry value stops Windows separating network drives by elevated vs unelevated tokens, thus whenever yo...
Cheat Sheet - MySQL
# Login in as admin/root user mysql -u admin -h my-cluster-dev.cluster-cckanhlmgu2w.eu-central-1.rds.amazonaws.com --database=customer_cms_dev -p # Create database CREATE DATABASE customer_cms_dev; # Create user and grant permissions on a database CRE...
Cheat Sheet - bash conditionals
regex [[ $line =~ [[:space:]]*(a)?b ]] or pattern='[[:space:]]*(a)?b' [[ $line =~ $pattern ]] if if test-commands; then consequent-commands; [elif more-test-commands; then more-consequents;] [else alternate-consequents;] fi if some_comman...
Filesystem permissions
File permissions in Linux are coded symbolically (as letters) r - read w - write x - execute And Numerically: 4 - read 2 - write 1 - execute dir permissions Octal del rename create files dir list read files contents write file conten...
How to Disable IPTables on Ubuntu
Step 1: Check the Current Status of iptables Before making any changes, it’s a good practice to check the current status of iptables. sudo iptables -L -v This command will list all the current rules set in iptables. Step 2: Flush All iptables Rules To dis...
How To Use Cron to Automate Tasks
Introduction Cron is a time-based job scheduling daemon found in Unix-like operating systems, including Linux distributions. Cron runs in the background and operations scheduled with cron, referred to as “cron jobs,” are executed automatically, making cron us...
Access Pihole via NPM
To add Pi-hole to Nginx Proxy Manager, you can follow these steps: Login to Nginx Proxy Manager: Open your web browser and navigate to your Nginx Proxy Manager dashboard. Add Proxy Host: Click on the "Proxy Hosts" tab on the left sidebar and then cli...
Reset a Lost Administrative Password (root)?
By default the first user's account is an administrative account, so if the UI is prompting you for a password it's probably that person's user password. If the user doesn't remember their password you need to reset it. To do this you need to boot into recover...
Setup Email Notifications
Configuring User E-mail Address In a web browser, navigate to the Proxmox web UI and login Select Datacenter > Permissions > Users from the left navigation menus Double click the user to configure Complete the E-mail field on the Edit User form > Click O...
Reset Your Forgotten Ubuntu Password in 2 Minutes or Less (root)
Scraped from https://www.howtogeek.com/1287/reset-your-forgotten-ubuntu-password-in-2-minutes-or-less/ If you've ever forgotten your password, you aren't alone... it's probably one of the most common tech support problems I've encountered over the years ...
Ubuntu: How To Free Up Port 53, Used By systemd-resolved
Ubuntu has systemd-resolved listening on port 53 by default. In case you want to run your own DNS server, you can't because port 53 is already in use, so you'll get an error similar to this: "listen tcp 0.0.0.0:53: bind: address already in use".This article ...
AdGuardHome: Change the Admin Password
If you are using docker there is an easier way to reset the password of AdGuardHome. By using an apache docker image instead of installing apache2 on a server: By using this command to call htpasswd from an Apache docker image. docker run httpd:2.4 htpasswd ...
How to Extract or Unzip .tar.gz Files in Linux
Introduction A .tar.gz file is a compressed archive format commonly used in Linux systems. The format combines multiple files and directories into a single file while reducing their size. It uses tar for archiving and gzip for compression. Knowing how to unz...
tar Command in Linux With Examples
Introduction The GNUtar (short for Tape ARchiver) command is the most widely used archiving utility in Linux systems. Available directly in the terminal, the tar command helps create, extract, and list archive contents. The utility is simple and has many hel...
How to Find Files in Linux With the Find Command
Introduction The find command allows you to search for a specific string of characters using your Linux command-line interface. It is a highly practical tool as it is not limited to file names. You can use it to search a specific location, add options to cont...