Add PATH variable to script 26/214226/1 accepted/tizen_5.5_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix tizen_5.5 tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix accepted/tizen/5.5/unified/20191031.004250 accepted/tizen/5.5/unified/mobile/hotfix/20201027.090810 accepted/tizen/5.5/unified/wearable/hotfix/20201027.113424 accepted/tizen/unified/20191021.094651 submit/tizen/20190927.073401 submit/tizen/20191021.060145 submit/tizen_5.5/20191031.000010 submit/tizen_5.5_mobile_hotfix/20201026.185104 submit/tizen_5.5_wearable_hotfix/20201026.184304 tizen_5.5.m2_release
authorJeon Sang-Heon <sh95.jeon@samsung.com>
Thu, 19 Sep 2019 06:10:10 +0000 (15:10 +0900)
committerJeon Sang-Heon <sh95.jeon@samsung.com>
Thu, 19 Sep 2019 06:14:06 +0000 (15:14 +0900)
Fixed security issue in restore-passwd.sh

Change-Id: I9a27b8407be5f741444a9e4916b6b94b27653167
Signed-off-by: Jeon Sang-Heon <sh95.jeon@samsung.com>
scripts/restore-passwd.sh

index 9efb8ed..6605943 100755 (executable)
@@ -1,4 +1,5 @@
 #!/bin/sh
+PATH=/bin:/usr/bin:/sbin:/usr/sbin
 BACKUP_HELPER="/usr/share/upgrade/rw-update-macro.inc"
 ETC_DIR="/opt/etc"
 UID_REGULAR_USER_MIN=5001