mirror of
https://github.com/pygos/build.git
synced 2024-11-22 19:19:46 +01:00
Add dummy shadow file with default password
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
This commit is contained in:
parent
03881316b5
commit
241fcdf497
2 changed files with 6 additions and 0 deletions
|
@ -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
5
pkg/rootfs/shadow
Normal 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:::
|
Loading…
Reference in a new issue