summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorLandry Breuil <landry@cvs.openbsd.org>2017-02-12 08:56:18 +0000
committerLandry Breuil <landry@cvs.openbsd.org>2017-02-12 08:56:18 +0000
commit1303ed5d3bc3108875703bb9422297376b6c249f (patch)
tree635dcae0fc373318241f4e2e76c453d0fd521a7e /distrib
parent89043ff36c6d6b7d281d035919b813f9866d1e68 (diff)
As it's done in /etc/skel for new regular users, create an empty
/root/.ssh/authorized_keys file with correct permissions (0600 for the file, 0700 for /root/.ssh dir). Since we encourage administrators to use public keys only if they want to access root account via ssh, might aswell make it easier, this will be particularly useful in managed/provisioned environments (think ansible & others). Note that administrators might get an e-mail from security(8) if the file suddenly appears after an update - this is of course expected :) ok tb@ sthen@ rpe@ ajacoutot@
Diffstat (limited to 'distrib')
0 files changed, 0 insertions, 0 deletions