diff --git a/quirks/nss_db.sh b/quirks/nss_db.sh index 8194746..d09ab54 100644 --- a/quirks/nss_db.sh +++ b/quirks/nss_db.sh @@ -14,7 +14,7 @@ chroot "$sysroot" bash -c 'make -C /var/db /usr/db/passwd.db /usr/db/shadow.db / mv "$sysroot"/etc/group.admin "$sysroot"/etc/group mv "$sysroot"/etc/gshadow.admin "$sysroot"/etc/gshadow chroot "$sysroot" bash -c 'useradd admin; usermod -a -G wheel admin; echo -n admin | passwd --stdin admin' -#chroot "$sysroot" bash -c 'passwd -e admin' +chroot "$sysroot" bash -c 'passwd -e admin' mkdir -p "$sysroot"/usr/share/factory/var mv "$sysroot"/etc/passwd "$sysroot"/etc/sub{u,g}id "$sysroot"/etc/shadow "$sysroot"/etc/group "$sysroot"/etc/gshadow "$sysroot"/usr/share/factory/var