resolvctl - it is used to manage and troubleshoot the Domain Name System
To view DNS settings
# resolvectl status
To resolve the IPv4 and IPv6 addresses for one or more domains
# resolvectl query domain1 domain2
To retrieve the domain of a specified IP
# resolvectl query <ip_address>
To retrieve an MX record of domain
# resolvectl --legend=no --type=MX query domain_name
regards,
T.Dhanasekar
diceware - it generates passphrases by concatenating words randomly picked
from wordlists
To generate passphrase
$ diceware
To add delimiters between words
$ diceware -d'#'
$ diceware -d'-'
$ diceware -d'&'
regards,
T.Dhanasekar
pwgen - generate pronounceable passwords
To generate password with secure 30 character length
$ pwgen -s 30
To generate password with mix of special characters
$ pwgen -y 10
To create password with mix of Capital letters
$ pwgen -c 10
regards,
T.Dhanasekar
[[Please keep me Cc'ed]]
Hello Dhanasekar,
It seems you are sending automated mails this mailing list on every
morning 6:00 AM since some time now. Is it something already
discussed with admins ?
--abhijith
getsebool - get SELinux boolean value
To show all SELinux booleans
# getsebool -a
To show SELinux boolean with grep
# getsebool -a | grep ftp
# getsebool -a | grep http
regards,
T.Dhanasekar
setsebool sets the current state of a particular SELinux boolean or a list
of booleans to a given value
# setsebool [SELinux boolean] [on|off]
To modify (switch on or off) the value of a SELinux Boolean at runtime
# setsebool ftp_home_dir on
or
# setsebool ftp_home_dir off
To make the changes persistent across reboots
# setsebool -P ftp_home_dir on
or
# setsebool -P ftp_home_dir off
# setsebool -P httpd_can_network_connect on
or
# setsebool -P httpd_can_network_connect off
regards,
T.Dhanasekar
setenforce - modify the mode SELinux is running in
To make SELinux in enforcing mode
# setenforce 1
To make SELinux in permissive mode
# setenforce 0
regards,
T.Dhanasekar