public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: claudius.heine.ext@siemens.com
To: isar-users@googlegroups.com
Cc: Claudius Heine <ch@denx.de>
Subject: [PATCH v2 0/1] Centralize root password configuration
Date: Thu,  7 Feb 2019 12:35:11 +0100	[thread overview]
Message-ID: <20190207113512.3773-1-claudius.heine.ext@siemens.com> (raw)

From: Claudius Heine <ch@denx.de>

Hi,

here the second version.
This patchset depends on the `Template system` patchset.

Cheers,
Claudius

Changes from v1:
 - Removed CFG_ROOT_PW_ENC setting, now CFG_ROOT_PW needs the encrypted
   password
 - fixed bug in postinst template by replacing double quotes with single
   quotes
 - added setting of root password to locale.conf.sample
 - added more documentation

Changes from the RFC patch:
 - Transformed package to be a transient package, prevents leaking of
   password via /var/lib/dpkg/info
 - Check if password was already set before setting it. Error if
   password was set already
 - Added possibility to set encrypted passwords
 - Fixed locking to allow restoration of choosen password when account
   is unlocked later
 - added documentation in RECIPE-API_CHANGELOG
 - removed isar-cfg-hostname
 - fix some scripting errors


Claudius Heine (1):
  meta: add isar-cfg-rootpw recipe for setting root password

 RECIPE-API-CHANGELOG.md                       |  9 +++++++++
 doc/user_manual.md                            |  2 ++
 meta-isar/conf/local.conf.sample              |  6 ++++++
 .../recipes-app/example-raw/files/postinst    |  4 ----
 meta/classes/isar-image.bbclass               |  2 +-
 .../isar-cfg-rootpw/files/postinst.tmpl       | 19 +++++++++++++++++++
 .../isar-cfg-rootpw/isar-cfg-rootpw.bb        | 19 +++++++++++++++++++
 7 files changed, 56 insertions(+), 5 deletions(-)
 create mode 100644 meta/recipes-support/isar-cfg-rootpw/files/postinst.tmpl
 create mode 100644 meta/recipes-support/isar-cfg-rootpw/isar-cfg-rootpw.bb

-- 
2.20.1


             reply	other threads:[~2019-02-07 11:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-07 11:35 claudius.heine.ext [this message]
2019-02-07 11:35 ` [PATCH v2 1/1] meta: add isar-cfg-rootpw recipe for setting root password claudius.heine.ext
2019-02-07 11:36   ` Claudius Heine
2019-02-07 11:40   ` [PATCH v3] " claudius.heine.ext
2019-02-18 11:43     ` Maxim Yu. Osipov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190207113512.3773-1-claudius.heine.ext@siemens.com \
    --to=claudius.heine.ext@siemens.com \
    --cc=ch@denx.de \
    --cc=isar-users@googlegroups.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox