[Buildroot] [PATCH] skeleton: sync /etc/shadow with /etc/passwd

Jérôme Pouiller jezz at sysmic.org
Wed Oct 28 16:07:13 UTC 2015


Synchronize /etc/shadow with /etc/passwd:
  - remove "halt" and "uucp"
  - add "sys", "mail" and "www-data"

Signed-off-by: Jérôme Pouiller <jezz at sysmic.org>
---
 system/skeleton/etc/shadow | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/system/skeleton/etc/shadow b/system/skeleton/etc/shadow
index 2ac2607..06778f1 100644
--- a/system/skeleton/etc/shadow
+++ b/system/skeleton/etc/shadow
@@ -1,8 +1,9 @@
 root::10933:0:99999:7:::
-bin:*:10933:0:99999:7:::
 daemon:*:10933:0:99999:7:::
+bin:*:10933:0:99999:7:::
+sys:*:10933:0:99999:7:::
 sync:*:10933:0:99999:7:::
-halt:*:10933:0:99999:7:::
-uucp:*:10933:0:99999:7:::
+mail:*:10933:0:99999:7:::
+www-data:*:10933:0:99999:7:::
 operator:*:10933:0:99999:7:::
 nobody:*:10933:0:99999:7:::
-- 
2.1.4



More information about the buildroot mailing list