1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-16 00:17:11 +01:00

Add dummy shadow file with default password

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
This commit is contained in:
David Oberhollenzer 2018-02-08 00:32:04 +01:00
parent 03881316b5
commit 241fcdf497
2 changed files with 6 additions and 0 deletions

View file

@ -27,6 +27,7 @@ build() {
cp "$SCRIPTDIR/pkg/$PKGNAME/hostname" "$BUILD/etc/hostname" cp "$SCRIPTDIR/pkg/$PKGNAME/hostname" "$BUILD/etc/hostname"
cp "$SCRIPTDIR/pkg/$PKGNAME/hosts" "$BUILD/etc/hosts" cp "$SCRIPTDIR/pkg/$PKGNAME/hosts" "$BUILD/etc/hosts"
cp "$SCRIPTDIR/pkg/$PKGNAME/passwd" "$BUILD/etc/passwd" cp "$SCRIPTDIR/pkg/$PKGNAME/passwd" "$BUILD/etc/passwd"
cp "$SCRIPTDIR/pkg/$PKGNAME/shadow" "$BUILD/etc/shadow"
cp "$SCRIPTDIR/pkg/$PKGNAME/group" "$BUILD/etc/group" cp "$SCRIPTDIR/pkg/$PKGNAME/group" "$BUILD/etc/group"
ln -s /proc/self/mounts "$BUILD/etc/mtab" ln -s /proc/self/mounts "$BUILD/etc/mtab"

5
pkg/rootfs/shadow Normal file
View file

@ -0,0 +1,5 @@
root:$6$.Y7Zj/e9QeCB$XwqV/48JBr7DmicnnuB/n8LWV6uzBU.r/fYIlEpzQPvM.q59t1Yw4MJePLfpwai76mxgZWXx8PpNg8gpiGQss.:17569:0:99999:7:::
bin:x:17569:0:99999:7:::
daemon:x:17569:0:99999:7:::
messagebus:x:17569:0:99999:7:::
nobody:x:17569:0:99999:7:::