diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2014-08-19 18:04:42 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-23 23:01:35 +0100 |
commit | e37841faf746895f41627130623196c0bebe0740 (patch) | |
tree | 05f3a9587af2fa4479f425995e0ec4938157bcb4 /meta/recipes-extended/less | |
parent | d6b1c9e7e29aaa8d71ccb485b7a88863a117a8b1 (diff) | |
download | openembedded-core-e37841faf746895f41627130623196c0bebe0740.tar.gz openembedded-core-e37841faf746895f41627130623196c0bebe0740.tar.bz2 openembedded-core-e37841faf746895f41627130623196c0bebe0740.zip |
bind: refer ubuntu/redhat to add bind user/group
We refer what ubuntu/redhat did, gave bind a user/group
Here is the example in ubuntu 14.04:
$ ps -eo user,group,cmd | grep "named"
...
bind bind /usr/sbin/named -u bind
...
$vim bind9_1%3a9.9.5.dfsg-3_amd64.deb/postinst
...
# lets give them a bind user/group in all cases.
getent group bind >/dev/null 2>&1 || addgroup --system bind
getent passwd bind >/dev/null 2>&1 ||
adduser --system --home /var/cache/bind --no-create-home \
--disabled-password --ingroup bind bind
...
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/less')
0 files changed, 0 insertions, 0 deletions