Project

General

Profile

Actions

Bug #13439

closed

authorized_files is created at the user directory but owner is root

Added by Daniel Lobato Garcia about 8 years ago. Updated almost 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 #1

Updated by The Foreman Bot about 8 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Daniel Lobato Garcia
  • Target version set to 98
  • Pull request https://github.com/theforeman/foreman_remote_execution/pull/141 added
Actions #2

Updated by Ivan Necas about 8 years ago

  • Target version changed from 98 to 99
Actions #3

Updated by Ivan Necas about 7 years ago

  • Status changed from Ready For Testing to Closed
  • Pull request https://github.com/theforeman/foreman_remote_execution/pull/151, https://github.com/theforeman/foreman/pull/3167 added
  • Pull request deleted (https://github.com/theforeman/foreman_remote_execution/pull/141)

Fixed in foreman templates, where the code was moved to

Actions #4

Updated by Daniel Lobato Garcia about 7 years ago

  • Target version changed from 99 to 1.11.0
Actions

Also available in: Atom PDF