From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [RFC] Allow packages to create users
Date: Sun, 30 Dec 2012 18:44:24 +0100 [thread overview]
Message-ID: <201212301844.24383.yann.morin.1998@free.fr> (raw)
Hello All!
Recently, I've had the need for a package to create a user to
run its daemon as:
http://lists.busybox.net/pipermail/buildroot/2012-December/064044.html
The solution was ugly and very specific to this package, so it was
(rightfully!) refused, until there is a generic way for packages to
create users.
I now have a prototype that is working in simple cases:
https://gitorious.org/buildroot/buildroot/commits/yem-package-create-user
(The commit titled 'package/foo: new package to test adding users' is a
dummy, temporary commit, it will be removed before a pull-request is made).
The documentation for this new feature is available at:
http://ymorin.is-a-geek.org/download/tmp/br/manual/manual.html#generic-package-reference
The new variable is FOO_USERS, with its syntax defined here:
http://ymorin.is-a-geek.org/download/tmp/br/manual/manual.html#makeuser-syntax
I'd appreciate comments, especially on the syntax.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
reply other threads:[~2012-12-30 17:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=201212301844.24383.yann.morin.1998@free.fr \
--to=yann.morin.1998@free.fr \
--cc=buildroot@busybox.net \
/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