media has inconsistent file/directory permissions
The /root
directory is too open to allow sshd
to work by default, and potentially causes other issues. I was attempting to get SSH going on a ppc64 G5 without a monitor, and originally missed this detail.
adelie-live ~ # cat /var/log/auth.log
Server listening on 0.0.0.0 port 22.
Server listening on :: port 22.
Authentication refused: bad ownership or modes for directory /root
Connection closed by authenticating user root 192.168.10.100 port 50134 [preauth]
(Note that auth.log
exists because I manually started sshd -E /var/log/auth.log ...
). I don't think logging works by default in the live media either, but this is a separate issue.
As for where/how this should be fixed:
-
adelie/adelie-base
? -
adelie/packages/system/adelie-base
? -
adelie-infra/automedia
? -
adelie/horizon
? -
adelie/image
?