1
vote
ssh blank passphrase but still asking for it
A trailing space after END OPENSSH PRIVATE KEY----- causes openssh to treat the ssh key as encrypted and just hitting enter at the prompt doesn't work. I verified this on RH 7.9 and openssh_7.4p1 ...
1
vote
Run a shell script as a different user
For sites that may have special PAM setups that make this difficult, you can bypass su/sudo entirely with systemd and a little more typing:
Define a oneshot service that executes your script. If your ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
debian × 7713linux × 1962
ubuntu × 443
apt × 437
networking × 423
apache-2.2 × 420
iptables × 315
ssh × 311
postfix × 284
nginx × 274
mysql × 267
php × 258
debian-squeeze × 188
email × 160
domain-name-system × 149
apache-2.4 × 145
linux-networking × 143
kvm-virtualization × 139
exim × 132
security × 128
systemd × 126
ssl × 120
openvpn × 119
bash × 108
debian-wheezy × 107