## Can Windows CMD/DOS Commands Be Used In An OpenSSL Configuration File On Windows 10?

I’m using OpenSSL v1.1.1g on a Windows 10 machine (I don’t know Linux – yet). Can Windows CMD/DOS commands be used in the OpenSSL configuration file or is the configuration file limited to the use of OpenSSL commands only? I assume the answer to this question is “No” since OpenSSL uses its own parser to process OpenSSL configuration files, but I’d like to have my assumption confirmed.

## Specify Location of Certificate Signing Requests in OpenSSL Configuration File?

Does the OpenSSL `req` command have a OpenSSL configuration file equivalent to the `ca` command’s `new_certs_dir` option? I’d like to establish a default directory for all Certificate Signing Requests ("CSRs") that are created using the `req` command.

## Onedrive for Business – Desktop app configuration

We are running on onPremise SharePoint 2016 with MySite.

Is it possible to auto configure the Windows OneDrive For Business app (In Windows 7, 8.1 and 10) for the logged in user.

Also would it be possible to map the ODFB to a network drive?

## Magento 2 get product name in summary js file / configuration product name get undefined – attribute

I need to get a parent product name in vendor/magento/module-configurable-product/view/adminhtml/web/js/variations/steps/summary.js (summary.js file)
Is it possible if yes how can I achieve this?

for edit configuration product parent proudct name get undefined – attribute

## What OpenSSL v1.1.1g Commands Require A Configuration File?

A quick grep through the man pages shows the following:

``````\$ zgrep -l "-config" /usr/share/man/man1/openssl*.gz
/usr/share/man/man1/openssl.1ssl.gz
/usr/share/man/man1/openssl-ca.1ssl.gz
/usr/share/man/man1/openssl-req.1ssl.gz
/usr/share/man/man1/openssl-srp.1ssl.gz
/usr/share/man/man1/openssl-ts.1ssl.gz
``````

This means the following commands:

• openssl: just mentions the fact that some sub-commands accept a config file
• ca: you’re already aware of it
• req: you’re already aware of it
• srp: `maintain SRP password file`: see wiki
• ts: `Time Stamping Authority command`: a related PKI utility to obtain timestamped signatures.

Note that they do not necessarily require a config file, just that one can be used.

## networking – netplan configuration not applying ethernet LAN

After a power cycle, I’m unable to see my ethernet interfaces in `ifconfig` with the following netplan configuration. `ethMine` shows up in `ip link show`, but is not upped.

``````\$ cat /etc/netplan/01-netcfg.yaml
network:
version: 2
renderer: networkd
ethernets:
ethMine:
- 192.168.1.67/25
vlans:
ethMine.200:
id: 200
wifis:
abcd:
dhcp4: yes
dhcp6: no
gateway4: 10.10.10.1
nameservers:
access-points:
"myssid":
``````
• On Ubuntu desktop.
• There are no other netplan configs.
• `/etc/network/interfaces` is commented out
• Only after a `sudo netplan apply` does the interface come up.
``````\$ dmesg | grep ethMine
(    2.881002) r8169 0000:26:00.1 ethMine: renamed from enp38s0f1
``````

after `sudo netplan apply`:

``````\$ dmesg | grep ethMine
(    2.881002) r8169 0000:26:00.1 ethMine: renamed from enp38s0f1
(  359.512589) r8169 0000:26:00.1 ethMine: Link is Down
(  362.332948) r8169 0000:26:00.1 ethMine: Link is Up - 1Gbps/Full - flow control off
``````

Can I force my netplan apply to run later in case there is a race?

## configuration – Best practices for backing up Drupal 8 settings files

I have a Drupal 8 multisite with a few different hosts for production, staging, and local dev. Certain important files like settings.php and .htaccess are excluded from git, making it complicated to push to staging and production from my local. How are people getting around this? Is putting them in .git such a big security risk? For some time, I’ve been excluding .htaccess from .git and creating a .htaccess-loca, .htaccess-prod, etc., putting them in .git and copying them to the .htaccess files on the difference hosts – but these also contain the same info. Not sure why these are a security issue. The .env files I can understand. The problem with settings.php is the contain database passwords; can I move them to .env and consider settings files safe for git? Can drupal console be used for synchronizing these files? I’d rather not use sftp, and like git so I can roll back to known stable versions.

I used composer to build the site, can composer be used to manage settings, env, and other config files?

How about Docsall, would that make things easier?

## X11 configuration on Ubuntu 18.04. Worked on Ubuntu 16.04

Here is a script which is run in cron for user1 who has sudo privileges

``````   export DISPLAY=:0
export XAUTHORITY=/home/user2/.Xauthority
scrot -q 30 "/tmp/%Y-%m-%d-%H-%M_screen.jpg" 2>/tmp/err

``````

It worked fine on Ubuntu 16.04. When upgraded to 18:04, it gives the error: Invalid MIT-MAGIC-COOKIE-1 keygiblib error: Can’t open X display. It is running, yeah?

File .Xauthority is owned by user2, group owned by user1 and has permissions 660.

What changed between Ubuntu 16:04 and 18:04? I tried export DISPLAY=:1.0 instead of export DISPLAY=:0 after reading a post on SO. It gave this error: giblib error: Can’t open X display. It is running, yeah?

## complexity theory – Out-Degree of a Configuration Graph

In Chapter 4 in Computational Complexity by Arora and Barak it states, regarding the configuration graph of a Turing Machine, that

If M is deterministic, then the
graph has out-degree one, and if M is nondeterministic, then the graph has out-degree
at most two.

In the configuration graph, a directed edge is placed from the configurations $$C$$ to $$C’$$ if we can obtain $$C’$$ from $$C$$ via a single transition. Also, the authors assume we are working with two tape Turing machine with one read-only input tape and one read-write work tape. Here, the authors define a configuration by

A configuration of a TM M
consists of the contents of all nonblank entries of M’s tapes, along with its state and head
position, at a particular point in its execution.

I understand that the out-degree for a deterministic machine must be 1, but I do not see why the out-degree for the non-deterministic machine can be at most 2. Given that the authors assume that $$Gamma= {0,1}$$, I would assume that the number of possible configurations reachable from any given configuration would be $$|Gamma||Q||{L,R}^2|$$ for a two tape Turing machine, where $$Q$$ is the set of states and one head is on a read-only input tape. Why would the out-degree of this graph be at most $$2$$ instead?

## linux – Ubuntu ethernet configuration on start-up

OS: Ubuntu 20.04

Each time that I start the pc and log into my account the Connection doesn’t work and the ethernet icon does not appear in the top-bar.

if I run `sudo lshw -C network` it says that there is one device and it is DISABLED.

I saw that i had to put it’s logical name inside the `/etc/network/interfaces`

``````auto enp3s0
iface enp3s0 inet dhcp
``````

toggle the `managed` field inside `/etc/NetworkManager/NetworkManager.conf`

``````[ifupdown]
managed=true
``````

and reboot.

I did so but didn’t work.
The only way that is currenty working is to run `sudo dhclient` but i have to run it at each reboot. What can i try for a perma solution?