How Can We Get the U.S. Post Office to Allow for Payments without a Billing Address Related to the Addresses in a Move?

Problem scenario
If you are putting in a mail forward and you have a “Moving To” address and a “Moving From” address, the billing address for your debit or credit card must be one of those two. If it is not, you are out of luck for using the online change of address on usps.com.

What can we do about this?

No Solution
This is unsolved.

…

How Do You See if the quota Has been Properly Enabled?

Problem scenario
You are running Linux. You think quotas are not properly configured. You run “repquota -au” and see soft and hard limits. You see grace periods. But you are not sure if quotas are enabled or not. What should you do?

Solution
Run this:

sudo quotaon -ap

To enable groups, run this:

sudo quotaon -ag

To enable user quotas,

…

How Do You Determine Why the quota System is Working?

Problem scenario
The grace period says “none”. Clearly the grace period expired. The soft limit has been exceeded and maybe even the hard limit has exceeded. Files are still created. You would expect to see a “write failed…quota reached” or “quota exceeded” any time a user tried to create a new file or directory. What should you do?

Solution
Run this:

quotaon -ap …

Why Cannot You Browse to a URL Path with a File Name in a Web Browser when the index.html File is Available?

Problem scenario
You know foobar.html is in a directory on a web server that houses index.html. You cannot go to foobar.html in a web browser — but you can go to index.html. How do you fix this?

Possible solution #1
Are the permissions of foobar.html different from index.html? Is there a slight spelling error in the file name on the back-end?

…

What Does the Less-than and Parentheses Syntax in Linux/Bash Signify?

Question
You have seen “<(” in Linux. What does it do?

Answer
A command encapsulated in parens and having the “<” symbol on the left is a way to do process substitution.

Here is an example:

diff <(hostname -f) <(date)

The diff command can compare the results of two different commands. To read more about process substitution,

…

How Do You Get Passwords to Expire for Existing Users?

Problem scenario
You want passwords to rotate periodically for all users. You modified the /etc/login.defs file, and new users are inheriting the temporal rotational policies for passwords. How can pre-existing accounts be forced to periodically change their password?

Solution
Use this command for every password (but replace “jdoe” with the user you want to change and replace “30” with the number of days you want the password to last for before the user is forced to change it):

sudo chage -M 30 jdoe

# The user can still log in one more time after expiration. …

How Do You Disable Hyperthreading in Linux?

Problem scenario
You are running Linux with a multi-core CPU and motherboard. You want to turn off simultaneous multithreading (because in some use cases the performance can improve or you are concerned about security). What should you do?

Possible Solution #1
If you want to be able to turn it back on without rebooting, you could have a crontab job run a script at reboot.

…