diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2018-07-23 14:53:09 +0800 |
---|---|---|
committer | Sven Eden <sven.eden@prydeworx.com> | 2018-10-29 10:18:24 +0100 |
commit | 15a9ae936ce860c4ba095bffb8ad9a524f426985 (patch) | |
tree | 46298f8e8e15d68bccef2b5cd348b8330eba97ba /factory/etc/pam.d | |
parent | 3da365fcacb4f695aa0505f0ada4a887c5f718f4 (diff) |
check nobody user/group validity only when not cross compiling
Using `getent' and `id' command in case of cross compiling does not
make much sense. This is because it is the host files that are checked.
Besides, in some restricted cross compilation environment, these two
command may not even be available. This is to avoid host comtamination.
So we should only check the validity using getent and id when not
cross compiling.
(cherry picked from commit 2484bff32bc5af4af811381393df1090d6e4586f)
Diffstat (limited to 'factory/etc/pam.d')
0 files changed, 0 insertions, 0 deletions