What files does ypdomainname change on rhel8 / centos8?
When I run ypdomainname somedomain, it clearly takes effect, because ypdomainname will show the state changed, before and after. I need to deploy this change via configuration management, and can't...
View ArticleComment by Edward Ned Harvey on What files does ypdomainname change on rhel8...
Thanks, you nailed it. :-) Add this: For RHEL/Centos 6, 7, and 8 (and probably older versions), echo "NISDOMAIN=whatever" >> /etc/sysconfig/network and I'll accept the answer.
View ArticleHow to force partition to value out of range
I have an ubuntu desktop system (VM guest), whose partitions were created by the install media. I wanted to expand the disk, so I shutdown the guest, and increased the disk size of the guest in the...
View ArticleAnsible: How to recursively set directory and file permissions
In ansible, I can do this: file: dest=/foo/bar/somedir owner=root group=apache mode=0775 recurse=yes And it recursively sets the owner, group, and permissions to 0775 on all directories and files in...
View ArticleHow do you launch a Windows 10 app at startup? [duplicate]
This question already has an answer here: Run Metro application on startup? 5 answers Some programs (for example, Outlook) you can launch at startup by creating a shortcut. You press Win+R, type in...
View ArticleAnswer by Edward Ned Harvey for RSync to WebDAV mounted volume very slow
I have found that Mac OSX webdav mounting is unreliable (10.11.6 El Capitan). If I use rsync, tar, cp, or any other tool, some of the files come across corrupted. I can repeat and repeat, but different...
View ArticleHow to create app shortcut in Windows 8 / Windows 10
For some apps (for example, Outlook) I can easily create a shortcut by hitting the start menu, typing in "Outlook" and right-click, open file location, and then I can right-click to Create Shortcut,...
View ArticleAnswer by Edward Ned Harvey for Run Metro application on startup?
The answer from vhanla (Nov 1, '12) has a problem: you're only launching the default application. For example, if I run mailto: then Outlook opens, not Mail. In Windows 10, there's another way: If you...
View ArticleAfter time machine restore, zillions of .com.apple.backupd.mdmv files?
I used time machine to restore OSX. After restoring, there are zillions of .com.apple.backupd.mdmvXXXXXX files everywhere. XXXXXX is a seemingly random number, typically 7-8 digits long. There seems...
View ArticleAnswer by Edward Ned Harvey for How to force partition to value out of range
Got it. This worked for me: By launching sudo parted I was able to do unit s to switch to sectors, and p to see the current table, and mkpart logical 501760 41940991 to recreate the partition. And quit...
View ArticleAnswer by Edward Ned Harvey for What characters are forbidden in OS X filenames?
According to wikipedia, http://en.wikipedia.org/wiki/HFS_Plus any unicode character is allowed, including NUL. But many applications will impose restrictions of their own, such as '/' and so on.
View ArticleComment by Edward Ned Harvey on Delayed messages in Slack
I get "[...] is not a valid command."
View ArticleComment by Edward Ned Harvey on Bash scripting: test for empty directory
Oh no! There is a very important problem with this code. It should be if [ -n "$(ls -A /path/to/dir)" ]; then ... Please update the answer before someone pastes this code into their server somewhere...
View ArticleComment by Edward Ned Harvey on Ansible: How to recursively set directory and...
Your answer will set all subfiles and subdirectories to 644, while setting only the top-level directory to 775. The need is for all directories to be 775, including subdirectories.
View ArticleComment by Edward Ned Harvey on Disable Windows 7 screensaver over RDP
Since this answer didn't answer your question, you should consider un-selecting it as an answer. You should accept BajaResident's answer, about TaskScheduler.
View ArticleComment by Edward Ned Harvey on How to create app shortcut in Windows 8 /...
There is one caveat: It works if you click the Start Menu, go to All Apps, and then drag the Mail app into (for example) the startup folder (shell:startup). But it does not work if you click the Start...
View ArticleComment by Edward Ned Harvey on Mac Lion: fstab is deprecated. so what...
Adaś, in mountblockd, the plist says to enter volume name. But I have two volumes with the same name. Can the plist take UUID instead?
View Article