This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# Author: Lorenzo Gaggini - [email protected] | |
# Check if a the target path has the expected permissions | |
# | |
# Usage: ./check_file_perms.sh -t target_path -p expected_permissions | |
function usage() | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Author: Lorenzo Gaggini | |
# | |
# Calculates the password expiration date based on pwdChangeTime | |
# validity in days | |
usage() { | |
cat <<USAGE |
OlderNewer