Tag Info

Hot answers tagged

1

In your shell initialization script (e.g., ~/.bash_profile) add last --ip --limit 10


1

Use WorkingDirectory option: WorkingDirectory <string> This optional key is used to specify a directory to chdir(2) to before running the job. To see all available options, check launchd.plist manual page.


1

This really isn't an answer due to the two limitations noted below but it's too long for a comment, so.. I did a simple test with the following two shortcomings: The scripts do not send email. I need the smtp relay of my ISP but it's too much hassle to find it. I'm testing on a Win10 preview, not a Win8.1. It's all I have this evening. Inside of Local ...


1

Studying and using everyone's comments and answers actually helped resolve my problem, but as sometimes is the case the real issue was somewhat different. So, I feel obligated to post what turned out to be the actual problem for me in case someone else gets caught by the same 'gotcha'. During script testing it seemed more convenient to work on my Win 8.1 ...


1

You have SELinux enabled, and in its default configuration it does not allow web servers to access content in user home directories. To allow the web server to access user files, you need to set the appropriate boolean, httpd_read_user_content: setsebool -P httpd_read_user_content 1



Only top voted, non community-wiki answers of a minimum length are eligible