Questions tagged as ['best-practices']
I know you cannot combine mixed drive types in an array eg. SAS/SATA or SSD/HDD. What about identically sized SATA SSD in the MU and RI options?
RAID-5:
4x P18434-B21 - HPE 960GB SATA MU SFF SC MV SSD - Mix Use, currently installed
4x P18424-B21 - HPE 960GB SATA RI SFF SC MV SSD - Read Intensive, want to expand with these.
The only difference in spec I can find is the write cycles each one can handle, ...

I've got one of those situations where I could write a three task role to lookup, sort and extract a set of values like:
- name: Lookup available AMI instances
amazon.aws.ec2_ami_info:
filters: ...
register: _ami_info
- name: Sort by creation date to get latest
ansible.builtin.set_fact:
_amis: '{{ _ami_info.images | sort(attribute="creation_date", reverse=True) }}'
- name: Se ...

I am a developing an application that is being utilized by sysadmins with SCCM. I am curious what the best way to release updates to my application would be. I am planning on having my application auto-update -- requiring no manual intervention from the sysadmin. What would be best practice of auto-updating my application knowing it will be in SCCM pipelines?
Thanks in advance,
Matt L.

I am writing a shell script which uses curl(1)
to download files. By default curl will set a HTTP User-Agent
(UA) to something like curl/7.74.0
. I want to be a good internet citizen and set the UA to say what my script is. Since the software that is making HTTP requests is still curl, I would like this user agent to also include the default curl UA.
I can replace User-Agent
with -A
, but is it possible ...

I have a VM on a host with bridged networking (hence, with its own MAC address). Both host and VM run CentOS. Their network is managed by simple /etc/sysconfig/network-scripts/ifcfg-enpXsY
files which contains the static IP addresses. IPv4 works just fine.
I have assigned an IPv6 address to the VM (the host also has one) which is routed correctly in the data centre. Most connections use IPv4, however ...
Is there any way to limit users to certain home directories with sftp on Ubuntu OS 20.04 and giving them write access to their directory?'
I was able to keep each user to only see their directory and not browse any other directories. However, they can't write to their directory now. Below is the config for /etc/ssh/sshd_config
Match User XXXXXXXXX
ForceCommand internal-sftp
PasswordAuthentication ...

How to solve the following compliance error message when using the Best Practices Analyzer with DNS running on Windows Server Core?
Problem:
The interface Ethernet 2 is not configured to register its addresses in DNS.
Impact:
IP addresses on the interface will not be automatically registered in DNS.
Resolution:
Configure the interface Ethernet 2 to register the connection's addresses in DNS.
Sca ...
rfc5952, section 4.2.2 "Handling One 16-Bit 0 Field" goes:
The symbol "::" must not be used to shorten just one 16-bit 0 field. For example, the representation
2001:db8:0:1:1:1:1:1 is correct, but
2001:db8::1:1:1:1:1 is not correct.
The kawamura-03 draft has a hint as to why:
4.2.2. One 16 bit 0 Field
"::" should not be used to shorten just one 16 bit 0 field for it would tend to mislead that there ...