diff options
| author | Robert Yang <liezhi.yang@windriver.com> | 2013-11-13 05:24:24 +0800 | 
|---|---|---|
| committer | Joe MacDonald <joe@deserted.net> | 2013-11-26 09:53:53 -0500 | 
| commit | b613318e14a0038b4fc6d5a7378b1affb64fd471 (patch) | |
| tree | 2704c9bf730ca806b510aa7036739073a3557bcf | |
| parent | 5f8ef9cfb23c22ba09a94d678ef1635f7495fb6c (diff) | |
| download | meta-openembedded-b613318e14a0038b4fc6d5a7378b1affb64fd471.tar.gz | |
quagga: use /bin/false as the login shell
Use /bin/false as the login shell, just like what Ubuntu does,
otherwise there might be secure issue.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
| -rw-r--r-- | meta-networking/recipes-protocols/quagga/quagga.inc | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-networking/recipes-protocols/quagga/quagga.inc b/meta-networking/recipes-protocols/quagga/quagga.inc index 2106c9b28b..677b1c5a0c 100644 --- a/meta-networking/recipes-protocols/quagga/quagga.inc +++ b/meta-networking/recipes-protocols/quagga/quagga.inc  | |||
| @@ -148,7 +148,7 @@ INITSCRIPT_PARAMS_${PN}-watchquagga = "defaults 90 10" | |||
| 148 | # Add quagga's user and group | 148 | # Add quagga's user and group | 
| 149 | USERADD_PACKAGES = "${PN}" | 149 | USERADD_PACKAGES = "${PN}" | 
| 150 | GROUPADD_PARAM_${PN} = "--system quagga ; --system quaggavty" | 150 | GROUPADD_PARAM_${PN} = "--system quagga ; --system quaggavty" | 
| 151 | USERADD_PARAM_${PN} = "--system --home ${localstatedir}/run/quagga/ -M -g quagga quagga" | 151 | USERADD_PARAM_${PN} = "--system --home ${localstatedir}/run/quagga/ -M -g quagga --shell /bin/false quagga" | 
| 152 | 152 | ||
| 153 | pkg_postinst_${PN} () { | 153 | pkg_postinst_${PN} () { | 
| 154 | if [ -z "$D" ] && [ -e /etc/init.d/populate-volatile.sh ] ; then | 154 | if [ -z "$D" ] && [ -e /etc/init.d/populate-volatile.sh ] ; then | 
