public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [kirkstone] [PATCH v3 0/3] base-passwd: Disable shell for default users
@ 2022-05-13  9:40 Jiaqing Zhao
  2022-05-13  9:40 ` [kirkstone] [PATCH v3 1/3] sed: Specify shell for "nobody" user in run-ptest Jiaqing Zhao
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jiaqing Zhao @ 2022-05-13  9:40 UTC (permalink / raw)
  To: openembedded-core; +Cc: davide.gardenal, Jiaqing Zhao

Change the shell of all global static users other than root (which
retains /bin/sh) and sync (as /bin/sync is rather harmless) to
/sbin/nologin (as /usr/sbin/nologin does not exist in openembedded)

Davide Gardenal (1):
  base-passwd: Disable shell for default users

Jiaqing Zhao (2):
  sed: Specify shell for "nobody" user in run-ptest
  strace: Don't run ptest as "nobody"

---
Updates:
    - v3: cherry pick related patches to fix ptest issues
    - v2: fix commit message

---

 .../base-passwd/disable-shell.patch           | 57 +++++++++++++++++++
 .../base-passwd/base-passwd_3.5.29.bb         |  1 +
 meta/recipes-devtools/strace/strace/run-ptest |  6 +-
 meta/recipes-extended/sed/sed/run-ptest       |  2 +-
 4 files changed, 60 insertions(+), 6 deletions(-)
 create mode 100644 meta/recipes-core/base-passwd/base-passwd/disable-shell.patch

-- 
2.34.1



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

end of thread, other threads:[~2022-05-13  9:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-13  9:40 [kirkstone] [PATCH v3 0/3] base-passwd: Disable shell for default users Jiaqing Zhao
2022-05-13  9:40 ` [kirkstone] [PATCH v3 1/3] sed: Specify shell for "nobody" user in run-ptest Jiaqing Zhao
2022-05-13  9:40 ` [kirkstone] [PATCH v3 2/3] strace: Don't run ptest as "nobody" Jiaqing Zhao
2022-05-13  9:40 ` [kirkstone] [PATCH v3 3/3] base-passwd: Disable shell for default users Jiaqing Zhao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox