diff options
| author | Kai Kang <kai.kang@windriver.com> | 2020-01-09 14:15:58 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-01-10 00:50:59 -0800 |
| commit | d49c0eba5bcd64a0dd1f2e389453f94d7efc988f (patch) | |
| tree | de56473e6cd23878e0e8d13f51ca660efc12aba1 /meta-perl/recipes-perl/adduser/adduser_3.118.bb | |
| parent | 0d937f7e5c94bdf333fb381297950b73687d3517 (diff) | |
| download | meta-openembedded-d49c0eba5bcd64a0dd1f2e389453f94d7efc988f.tar.gz | |
adduser: set default shell with /sbin/nologin
Shell nologin whether provided by shadow or util-linux is installed to
/sbin/nologin in oe-core. But the default shell of adduser is
/usr/sbin/nologin and will fail to create a new user.
Set the default shell with /sbin/nologin to fix the issue.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-perl/recipes-perl/adduser/adduser_3.118.bb')
| -rw-r--r-- | meta-perl/recipes-perl/adduser/adduser_3.118.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-perl/recipes-perl/adduser/adduser_3.118.bb b/meta-perl/recipes-perl/adduser/adduser_3.118.bb index e695c58948..80cf142869 100644 --- a/meta-perl/recipes-perl/adduser/adduser_3.118.bb +++ b/meta-perl/recipes-perl/adduser/adduser_3.118.bb | |||
| @@ -8,6 +8,7 @@ LIC_FILES_CHKSUM = "file://debian/copyright;md5=caed49ab166f22ef31bf1127f558d0ef | |||
| 8 | 8 | ||
| 9 | SRC_URI = "https://launchpad.net/debian/+archive/primary/+sourcefiles/adduser/${PV}/${BPN}_${PV}.tar.xz \ | 9 | SRC_URI = "https://launchpad.net/debian/+archive/primary/+sourcefiles/adduser/${PV}/${BPN}_${PV}.tar.xz \ |
| 10 | file://adduser-add-M-option-for-useradd.patch \ | 10 | file://adduser-add-M-option-for-useradd.patch \ |
| 11 | file://0001-adduser-set-default-shell-with-sbin-nologin.patch \ | ||
| 11 | " | 12 | " |
| 12 | 13 | ||
| 13 | SRC_URI[md5sum] = "44ba2475ebdaafc9613236bdda321c97" | 14 | SRC_URI[md5sum] = "44ba2475ebdaafc9613236bdda321c97" |
