summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeon Sang-Heon <sh95.jeon@samsung.com>2019-09-19 15:10:10 +0900
committerJeon Sang-Heon <sh95.jeon@samsung.com>2019-09-19 15:14:06 +0900
commitd6c8e263ec3ae49ddf5b83ada70dc03e9550c5dc (patch)
tree4bae5502e79ad9b39273088f971a438c85d8dcfe
parent7ae368ff58b51d81c89865b9a1aa82d67659de68 (diff)
downloadinitrd-fota-accepted/tizen_5.5_unified.tar.gz
initrd-fota-accepted/tizen_5.5_unified.tar.bz2
initrd-fota-accepted/tizen_5.5_unified.zip
Fixed security issue in restore-passwd.sh Change-Id: I9a27b8407be5f741444a9e4916b6b94b27653167 Signed-off-by: Jeon Sang-Heon <sh95.jeon@samsung.com>
-rwxr-xr-xscripts/restore-passwd.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/restore-passwd.sh b/scripts/restore-passwd.sh
index 9efb8ed..6605943 100755
--- a/scripts/restore-passwd.sh
+++ b/scripts/restore-passwd.sh
@@ -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