Project

General

Profile

Actions

Bug #13439

closed

authorized_files is created at the user directory but owner is root

Added by Daniel Lobato Garcia almost 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Foreman
Target version:
Fixed in Releases:
Found in Releases:

Description

As noticed by ewoud on https://github.com/theforeman/community-templates/pull/233 , during provision the authorized_keys file is created under the 'ssh_user' directory but the user may not be able to read or write it after that, since it was created by root.
Fix is simple, just chown the directory and file as 'ssh_user'.

Actions

Also available in: Atom PDF