All of lore.kernel.org
 help / color / mirror / Atom feed
* meta-phosphor: enable `allow-root-login`?
@ 2021-12-30 13:52 Patrick Williams
  2022-01-04 15:32 ` Johnathan Mantey
  2022-01-04 18:32 ` Ed Tanous
  0 siblings, 2 replies; 5+ messages in thread
From: Patrick Williams @ 2021-12-30 13:52 UTC (permalink / raw)
  To: OpenBMC List

[-- Attachment #1: Type: text/plain, Size: 1155 bytes --]

Hello,

Looking for opinions, especially from security minded individuals...

In many of our `local.conf.sample` files we enable "debug-tweaks" but for
production builds this is probably not a good idea.  I had it turned off on a
production build and ran into a case where we could not log in as root on SSH.
We debugged this down to missing the 'priv-admin' group for root, which is
typically enabled in `phosphor-rootfs-postcommands.bbclass` when either
"debug-tweaks" or "allow-root-login" is enabled.

I am currently enabling this IMAGE_FEATURE in meta-facebook to avoid having this
happen again.  Is there any reason why we wouldn't want to enable it by default
in meta-phosphor?  There isn't really full support for non-root users in the
base systems anyhow, so is there anyone that wouldn't want "allow-root-login"
enabled by default?

I'm fine leaving this in meta-facebook, but I'm trying to prevent someone else
from having the same issue for what seems like a default case presently.

1. https://github.com/openbmc/openbmc/blob/master/meta-phosphor/classes/phosphor-rootfs-postcommands.bbclass#L10

-- 
Patrick Williams

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-01-04 19:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-30 13:52 meta-phosphor: enable `allow-root-login`? Patrick Williams
2022-01-04 15:32 ` Johnathan Mantey
2022-01-04 18:26   ` Patrick Williams
2022-01-04 19:24     ` Johnathan Mantey
2022-01-04 18:32 ` Ed Tanous

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.