Project

General

Profile

Actions

Bug #12149

open

foreman-proxy user doesn't have a valid home (required at least for puppetssh known_hosts file)

Added by Adam Cécile over 8 years ago. Updated over 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Debian/Ubuntu
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Hello,

foreman-proxy user should have a home with write permission so it can fill the known_hosts file.
My suggestion is to create a /var/lib/foreman-proxy/ home with foreman-proxy owner. The question is, how do we handle the file in previous home directory (/usr/share/foreman-proxy). It contains various file not being related to the user so I'm not sure.
We could consider moving only .ssh directory to the new home if existing but is that sufficient, does it make sense ?

I'm not a puppet wizard at all so I'm not sure if this directory could contains other data that should be migrated too...

Adam.

Actions #1

Updated by Adam Cécile over 8 years ago

Also I sent a pull request containing puppetssh documentation, if we do this modification we also need to fix the paths in this documentation snippet.

Actions

Also available in: Atom PDF