From 14299087268a82d2d791577ca9cb3c3ba81b1088 Mon Sep 17 00:00:00 2001 From: CyberLeo Date: Mon, 9 Apr 2012 03:39:03 -0500 Subject: [PATCH] script/gentree: break link on group file as well, to avoid unexpected behaviour later on --- script/gentree | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/gentree b/script/gentree index 366f0c3..acb20c0 100755 --- a/script/gentree +++ b/script/gentree @@ -138,7 +138,7 @@ do_prepwork() { do_admin() { log Create an emergency user admin/admin # delink passwd to ensure it doesn't get patched in-place - chk onelink "${sroot}/etc/passwd" "${sroot}/etc/master.passwd" + chk onelink "${sroot}/etc/passwd" "${sroot}/etc/master.passwd" "${sroot}/etc/group" echo '$1$2rXOWsK/$eiBHA6K7xL96DZbcY24YR0' | chk /usr/sbin/pw -V "${sroot}/etc" useradd admin -u 999 -g wheel -G operator -c Administrator -d /usr/home/admin -m -k "${sroot}/usr/share/skel" -s /bin/csh -H 0 } -- 2.42.0