Remove direct passwd & group file manipulation 97/185997/1 accepted/tizen_5.0_unified accepted/tizen/5.0/unified/20181102.021839 accepted/tizen/unified/20180914.073219 submit/tizen/20180913.140552 submit/tizen_5.0/20181101.000004
authorKarol Lewandowski <k.lewandowsk@samsung.com>
Mon, 6 Aug 2018 09:44:50 +0000 (11:44 +0200)
committerKarol Lewandowski <k.lewandowsk@samsung.com>
Mon, 6 Aug 2018 09:44:50 +0000 (11:44 +0200)
commitc418a605452eed4dc121a1b83069727d59c01760
tree16e8f45b6fd8c1456ed8de1a6b79a80cdced0c4e
parent3b208f28fa0231b453aeaeb5ace90290102b145d
Remove direct passwd & group file manipulation

This commit removes direct /etc/passwd & /etc/group
file manipulation in favour to using POSIX (libc-
standard) APIs.

This change is needed to allow splitting databases
into read-only /etc/ (upgraded with Tizen) and writable
/opt/etc/ (user-managed).

Change-Id: Icda87b57a8b2da6b4481d4e43dc2b3e53fa746a7
src/passwd.c