most: Add the kali user to all the scripts
This commit is contained in:
17
banana-pi.sh
17
banana-pi.sh
@@ -173,8 +173,21 @@ rm -f /debconf.set
|
||||
apt-get update
|
||||
apt-get -y install git-core binutils ca-certificates initramfs-tools u-boot-tools
|
||||
apt-get -y install locales console-common less nano git
|
||||
echo "root:toor" | chpasswd
|
||||
rm -f /etc/udev/rules.d/70-persistent-net.rules
|
||||
|
||||
# Create kali user with kali password... but first, we need to manually make some groups because they don't yet exist...
|
||||
# This mirrors what we have on a pre-installed VM, until the script works properly to allow end users to set up their own... user.
|
||||
# However we leave off floppy, because who a) still uses them, and b) attaches them to an SBC!?
|
||||
# And since a lot of these have serial devices of some sort, dialout is added as well.
|
||||
# scanner, lpadmin and bluetooth have to be added manually because they don't
|
||||
# yet exist in /etc/group at this point.
|
||||
groupadd -r -g 118 bluetooth
|
||||
groupadd -r -g 113 lpadmin
|
||||
groupadd -r -g 122 scanner
|
||||
groupadd -g 1000 kali
|
||||
|
||||
useradd -m -u 1000 -g 1000 -G sudo,audio,bluetooth,cdrom,dialout,dip,lpadmin,netdev,plugdev,scanner,video,kali -s /bin/bash kali
|
||||
echo "kali:kali" | chpasswd
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
# This looks weird, but we do it twice because every so often, there's a failure to download from the mirror
|
||||
# So to workaround it, we attempt to install them twice.
|
||||
|
||||
@@ -172,8 +172,21 @@ rm -f /debconf.set
|
||||
apt-get update
|
||||
apt-get -y install git-core binutils ca-certificates initramfs-tools u-boot-tools
|
||||
apt-get -y install locales console-common less nano git
|
||||
echo "root:toor" | chpasswd
|
||||
rm -f /etc/udev/rules.d/70-persistent-net.rules
|
||||
|
||||
# Create kali user with kali password... but first, we need to manually make some groups because they don't yet exist...
|
||||
# This mirrors what we have on a pre-installed VM, until the script works properly to allow end users to set up their own... user.
|
||||
# However we leave off floppy, because who a) still uses them, and b) attaches them to an SBC!?
|
||||
# And since a lot of these have serial devices of some sort, dialout is added as well.
|
||||
# scanner, lpadmin and bluetooth have to be added manually because they don't
|
||||
# yet exist in /etc/group at this point.
|
||||
groupadd -r -g 118 bluetooth
|
||||
groupadd -r -g 113 lpadmin
|
||||
groupadd -r -g 122 scanner
|
||||
groupadd -g 1000 kali
|
||||
|
||||
useradd -m -u 1000 -g 1000 -G sudo,audio,bluetooth,cdrom,dialout,dip,lpadmin,netdev,plugdev,scanner,video,kali -s /bin/bash kali
|
||||
echo "kali:kali" | chpasswd
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
# This looks weird, but we do it twice because every so often, there's a failure to download from the mirror
|
||||
# So to workaround it, we attempt to install them twice.
|
||||
|
||||
17
bbb.sh
17
bbb.sh
@@ -179,8 +179,21 @@ rm -f /debconf.set
|
||||
apt-get update
|
||||
apt-get -y install git-core binutils ca-certificates initramfs-tools u-boot-tools
|
||||
apt-get -y install locales console-common less nano git
|
||||
echo "root:toor" | chpasswd
|
||||
rm -f /etc/udev/rules.d/70-persistent-net.rules
|
||||
|
||||
# Create kali user with kali password... but first, we need to manually make some groups because they don't yet exist...
|
||||
# This mirrors what we have on a pre-installed VM, until the script works properly to allow end users to set up their own... user.
|
||||
# However we leave off floppy, because who a) still uses them, and b) attaches them to an SBC!?
|
||||
# And since a lot of these have serial devices of some sort, dialout is added as well.
|
||||
# scanner, lpadmin and bluetooth have to be added manually because they don't
|
||||
# yet exist in /etc/group at this point.
|
||||
groupadd -r -g 118 bluetooth
|
||||
groupadd -r -g 113 lpadmin
|
||||
groupadd -r -g 122 scanner
|
||||
groupadd -g 1000 kali
|
||||
|
||||
useradd -m -u 1000 -g 1000 -G sudo,audio,bluetooth,cdrom,dialout,dip,lpadmin,netdev,plugdev,scanner,video,kali -s /bin/bash kali
|
||||
echo "kali:kali" | chpasswd
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
# This looks weird, but we do it twice because every so often, there's a failure to download from the mirror
|
||||
# So to workaround it, we attempt to install them twice.
|
||||
|
||||
@@ -170,8 +170,21 @@ rm -f /debconf.set
|
||||
apt-get update
|
||||
apt-get -y install git-core binutils ca-certificates cryptsetup-bin initramfs-tools u-boot-tools
|
||||
apt-get -y install locales console-common less nano git
|
||||
echo "root:toor" | chpasswd
|
||||
rm -f /etc/udev/rules.d/70-persistent-net.rules
|
||||
|
||||
# Create kali user with kali password... but first, we need to manually make some groups because they don't yet exist...
|
||||
# This mirrors what we have on a pre-installed VM, until the script works properly to allow end users to set up their own... user.
|
||||
# However we leave off floppy, because who a) still uses them, and b) attaches them to an SBC!?
|
||||
# And since a lot of these have serial devices of some sort, dialout is added as well.
|
||||
# scanner, lpadmin and bluetooth have to be added manually because they don't
|
||||
# yet exist in /etc/group at this point.
|
||||
groupadd -r -g 118 bluetooth
|
||||
groupadd -r -g 113 lpadmin
|
||||
groupadd -r -g 122 scanner
|
||||
groupadd -g 1000 kali
|
||||
|
||||
useradd -m -u 1000 -g 1000 -G sudo,audio,bluetooth,cdrom,dialout,dip,lpadmin,netdev,plugdev,scanner,video,kali -s /bin/bash kali
|
||||
echo "kali:kali" | chpasswd
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
# This looks weird, but we do it twice because every so often, there's a failure to download from the mirror
|
||||
# So to workaround it, we attempt to install them twice.
|
||||
|
||||
@@ -170,8 +170,21 @@ rm -f /debconf.set
|
||||
apt-get update
|
||||
apt-get -y install git-core binutils ca-certificates cryptsetup-bin initramfs-tools u-boot-tools
|
||||
apt-get -y install locales console-common less nano git
|
||||
echo "root:toor" | chpasswd
|
||||
rm -f /etc/udev/rules.d/70-persistent-net.rules
|
||||
|
||||
# Create kali user with kali password... but first, we need to manually make some groups because they don't yet exist...
|
||||
# This mirrors what we have on a pre-installed VM, until the script works properly to allow end users to set up their own... user.
|
||||
# However we leave off floppy, because who a) still uses them, and b) attaches them to an SBC!?
|
||||
# And since a lot of these have serial devices of some sort, dialout is added as well.
|
||||
# scanner, lpadmin and bluetooth have to be added manually because they don't
|
||||
# yet exist in /etc/group at this point.
|
||||
groupadd -r -g 118 bluetooth
|
||||
groupadd -r -g 113 lpadmin
|
||||
groupadd -r -g 122 scanner
|
||||
groupadd -g 1000 kali
|
||||
|
||||
useradd -m -u 1000 -g 1000 -G sudo,audio,bluetooth,cdrom,dialout,dip,lpadmin,netdev,plugdev,scanner,video,kali -s /bin/bash kali
|
||||
echo "kali:kali" | chpasswd
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
# This looks weird, but we do it twice because every so often, there's a failure to download from the mirror
|
||||
# So to workaround it, we attempt to install them twice.
|
||||
|
||||
@@ -170,8 +170,21 @@ rm -f /debconf.set
|
||||
apt-get update
|
||||
apt-get -y install git-core binutils ca-certificates cryptsetup-bin initramfs-tools u-boot-tools
|
||||
apt-get -y install locales console-common less nano git
|
||||
echo "root:toor" | chpasswd
|
||||
rm -f /etc/udev/rules.d/70-persistent-net.rules
|
||||
|
||||
# Create kali user with kali password... but first, we need to manually make some groups because they don't yet exist...
|
||||
# This mirrors what we have on a pre-installed VM, until the script works properly to allow end users to set up their own... user.
|
||||
# However we leave off floppy, because who a) still uses them, and b) attaches them to an SBC!?
|
||||
# And since a lot of these have serial devices of some sort, dialout is added as well.
|
||||
# scanner, lpadmin and bluetooth have to be added manually because they don't
|
||||
# yet exist in /etc/group at this point.
|
||||
groupadd -r -g 118 bluetooth
|
||||
groupadd -r -g 113 lpadmin
|
||||
groupadd -r -g 122 scanner
|
||||
groupadd -g 1000 kali
|
||||
|
||||
useradd -m -u 1000 -g 1000 -G sudo,audio,bluetooth,cdrom,dialout,dip,lpadmin,netdev,plugdev,scanner,video,kali -s /bin/bash kali
|
||||
echo "kali:kali" | chpasswd
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
# This looks weird, but we do it twice because every so often, there's a failure to download from the mirror
|
||||
# So to workaround it, we attempt to install them twice.
|
||||
|
||||
@@ -170,8 +170,21 @@ rm -f /debconf.set
|
||||
apt-get update
|
||||
apt-get -y install git-core binutils ca-certificates initramfs-tools u-boot-tools
|
||||
apt-get -y install locales console-common less nano git
|
||||
echo "root:toor" | chpasswd
|
||||
rm -f /etc/udev/rules.d/70-persistent-net.rules
|
||||
|
||||
# Create kali user with kali password... but first, we need to manually make some groups because they don't yet exist...
|
||||
# This mirrors what we have on a pre-installed VM, until the script works properly to allow end users to set up their own... user.
|
||||
# However we leave off floppy, because who a) still uses them, and b) attaches them to an SBC!?
|
||||
# And since a lot of these have serial devices of some sort, dialout is added as well.
|
||||
# scanner, lpadmin and bluetooth have to be added manually because they don't
|
||||
# yet exist in /etc/group at this point.
|
||||
groupadd -r -g 118 bluetooth
|
||||
groupadd -r -g 113 lpadmin
|
||||
groupadd -r -g 122 scanner
|
||||
groupadd -g 1000 kali
|
||||
|
||||
useradd -m -u 1000 -g 1000 -G sudo,audio,bluetooth,cdrom,dialout,dip,lpadmin,netdev,plugdev,scanner,video,kali -s /bin/bash kali
|
||||
echo "kali:kali" | chpasswd
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
# This looks weird, but we do it twice because every so often, there's a failure to download from the mirror
|
||||
# So to workaround it, we attempt to install them twice.
|
||||
|
||||
@@ -170,8 +170,21 @@ rm -f /debconf.set
|
||||
apt-get update
|
||||
apt-get -y install git-core binutils ca-certificates initramfs-tools u-boot-tools
|
||||
apt-get -y install locales console-common less nano git
|
||||
echo "root:toor" | chpasswd
|
||||
rm -f /etc/udev/rules.d/70-persistent-net.rules
|
||||
|
||||
# Create kali user with kali password... but first, we need to manually make some groups because they don't yet exist...
|
||||
# This mirrors what we have on a pre-installed VM, until the script works properly to allow end users to set up their own... user.
|
||||
# However we leave off floppy, because who a) still uses them, and b) attaches them to an SBC!?
|
||||
# And since a lot of these have serial devices of some sort, dialout is added as well.
|
||||
# scanner, lpadmin and bluetooth have to be added manually because they don't
|
||||
# yet exist in /etc/group at this point.
|
||||
groupadd -r -g 118 bluetooth
|
||||
groupadd -r -g 113 lpadmin
|
||||
groupadd -r -g 122 scanner
|
||||
groupadd -g 1000 kali
|
||||
|
||||
useradd -m -u 1000 -g 1000 -G sudo,audio,bluetooth,cdrom,dialout,dip,lpadmin,netdev,plugdev,scanner,video,kali -s /bin/bash kali
|
||||
echo "kali:kali" | chpasswd
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
# This looks weird, but we do it twice because every so often, there's a failure to download from the mirror
|
||||
# So to workaround it, we attempt to install them twice.
|
||||
|
||||
17
cubox-i.sh
17
cubox-i.sh
@@ -172,8 +172,21 @@ rm -f /debconf.set
|
||||
apt-get update
|
||||
apt-get -y install git-core binutils ca-certificates cryptsetup-bin initramfs-tools u-boot-tools
|
||||
apt-get -y install locales console-common less nano git
|
||||
echo "root:toor" | chpasswd
|
||||
rm -f /etc/udev/rules.d/70-persistent-net.rules
|
||||
|
||||
# Create kali user with kali password... but first, we need to manually make some groups because they don't yet exist...
|
||||
# This mirrors what we have on a pre-installed VM, until the script works properly to allow end users to set up their own... user.
|
||||
# However we leave off floppy, because who a) still uses them, and b) attaches them to an SBC!?
|
||||
# And since a lot of these have serial devices of some sort, dialout is added as well.
|
||||
# scanner, lpadmin and bluetooth have to be added manually because they don't
|
||||
# yet exist in /etc/group at this point.
|
||||
groupadd -r -g 118 bluetooth
|
||||
groupadd -r -g 113 lpadmin
|
||||
groupadd -r -g 122 scanner
|
||||
groupadd -g 1000 kali
|
||||
|
||||
useradd -m -u 1000 -g 1000 -G sudo,audio,bluetooth,cdrom,dialout,dip,lpadmin,netdev,plugdev,scanner,video,kali -s /bin/bash kali
|
||||
echo "kali:kali" | chpasswd
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
# This looks weird, but we do it twice because every so often, there's a failure to download from the mirror
|
||||
# So to workaround it, we attempt to install them twice.
|
||||
|
||||
17
cubox.sh
17
cubox.sh
@@ -172,8 +172,21 @@ rm -f /debconf.set
|
||||
apt-get update
|
||||
apt-get -y install git-core binutils ca-certificates initramfs-tools u-boot-tools
|
||||
apt-get -y install locales console-common less nano git
|
||||
echo "root:toor" | chpasswd
|
||||
rm -f /etc/udev/rules.d/70-persistent-net.rules
|
||||
|
||||
# Create kali user with kali password... but first, we need to manually make some groups because they don't yet exist...
|
||||
# This mirrors what we have on a pre-installed VM, until the script works properly to allow end users to set up their own... user.
|
||||
# However we leave off floppy, because who a) still uses them, and b) attaches them to an SBC!?
|
||||
# And since a lot of these have serial devices of some sort, dialout is added as well.
|
||||
# scanner, lpadmin and bluetooth have to be added manually because they don't
|
||||
# yet exist in /etc/group at this point.
|
||||
groupadd -r -g 118 bluetooth
|
||||
groupadd -r -g 113 lpadmin
|
||||
groupadd -r -g 122 scanner
|
||||
groupadd -g 1000 kali
|
||||
|
||||
useradd -m -u 1000 -g 1000 -G sudo,audio,bluetooth,cdrom,dialout,dip,lpadmin,netdev,plugdev,scanner,video,kali -s /bin/bash kali
|
||||
echo "kali:kali" | chpasswd
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
# This looks weird, but we do it twice because every so often, there's a failure to download from the mirror
|
||||
# So to workaround it, we attempt to install them twice.
|
||||
|
||||
@@ -179,8 +179,21 @@ rm -f /debconf.set
|
||||
apt-get update
|
||||
apt-get -y install git-core binutils ca-certificates cryptsetup-bin initramfs-tools u-boot-tools
|
||||
apt-get -y install locales console-common less nano git
|
||||
echo "root:toor" | chpasswd
|
||||
rm -f /etc/udev/rules.d/70-persistent-net.rules
|
||||
|
||||
# Create kali user with kali password... but first, we need to manually make some groups because they don't yet exist...
|
||||
# This mirrors what we have on a pre-installed VM, until the script works properly to allow end users to set up their own... user.
|
||||
# However we leave off floppy, because who a) still uses them, and b) attaches them to an SBC!?
|
||||
# And since a lot of these have serial devices of some sort, dialout is added as well.
|
||||
# scanner, lpadmin and bluetooth have to be added manually because they don't
|
||||
# yet exist in /etc/group at this point.
|
||||
groupadd -r -g 118 bluetooth
|
||||
groupadd -r -g 113 lpadmin
|
||||
groupadd -r -g 122 scanner
|
||||
groupadd -g 1000 kali
|
||||
|
||||
useradd -m -u 1000 -g 1000 -G sudo,audio,bluetooth,cdrom,dialout,dip,lpadmin,netdev,plugdev,scanner,video,kali -s /bin/bash kali
|
||||
echo "kali:kali" | chpasswd
|
||||
|
||||
# This looks weird, but we do it twice because every so often, there's a failure to download from the mirror
|
||||
# So to workaround it, we attempt to install them twice.
|
||||
apt-get --yes --allow-change-held-packages -o dpkg::options::=--force-confnew install ${packages} || apt-get --yes --fix-broken install
|
||||
|
||||
17
kalitap.sh
17
kalitap.sh
@@ -167,8 +167,21 @@ rm -f /debconf.set
|
||||
apt-get update
|
||||
apt-get -y install git-core binutils ca-certificates initramfs-tools u-boot-tools
|
||||
apt-get -y install locales console-common less nano git
|
||||
echo "root:toor" | chpasswd
|
||||
rm -f /etc/udev/rules.d/70-persistent-net.rules
|
||||
|
||||
# Create kali user with kali password... but first, we need to manually make some groups because they don't yet exist...
|
||||
# This mirrors what we have on a pre-installed VM, until the script works properly to allow end users to set up their own... user.
|
||||
# However we leave off floppy, because who a) still uses them, and b) attaches them to an SBC!?
|
||||
# And since a lot of these have serial devices of some sort, dialout is added as well.
|
||||
# scanner, lpadmin and bluetooth have to be added manually because they don't
|
||||
# yet exist in /etc/group at this point.
|
||||
groupadd -r -g 118 bluetooth
|
||||
groupadd -r -g 113 lpadmin
|
||||
groupadd -r -g 122 scanner
|
||||
groupadd -g 1000 kali
|
||||
|
||||
useradd -m -u 1000 -g 1000 -G sudo,audio,bluetooth,cdrom,dialout,dip,lpadmin,netdev,plugdev,scanner,video,kali -s /bin/bash kali
|
||||
echo "kali:kali" | chpasswd
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
# This looks weird, but we do it twice because every so often, there's a failure to download from the mirror
|
||||
# So to workaround it, we attempt to install them twice.
|
||||
|
||||
17
luna.sh
17
luna.sh
@@ -165,8 +165,21 @@ rm -f /debconf.set
|
||||
apt-get update
|
||||
apt-get -y install git-core binutils ca-certificates initramfs-tools uboot-mkimage
|
||||
apt-get -y install locales console-common less nano git
|
||||
echo "root:toor" | chpasswd
|
||||
rm -f /etc/udev/rules.d/70-persistent-net.rules
|
||||
|
||||
# Create kali user with kali password... but first, we need to manually make some groups because they don't yet exist...
|
||||
# This mirrors what we have on a pre-installed VM, until the script works properly to allow end users to set up their own... user.
|
||||
# However we leave off floppy, because who a) still uses them, and b) attaches them to an SBC!?
|
||||
# And since a lot of these have serial devices of some sort, dialout is added as well.
|
||||
# scanner, lpadmin and bluetooth have to be added manually because they don't
|
||||
# yet exist in /etc/group at this point.
|
||||
groupadd -r -g 118 bluetooth
|
||||
groupadd -r -g 113 lpadmin
|
||||
groupadd -r -g 122 scanner
|
||||
groupadd -g 1000 kali
|
||||
|
||||
useradd -m -u 1000 -g 1000 -G sudo,audio,bluetooth,cdrom,dialout,dip,lpadmin,netdev,plugdev,scanner,video,kali -s /bin/bash kali
|
||||
echo "kali:kali" | chpasswd
|
||||
|
||||
# This looks weird, but we do it twice because every so often, there's a failure to download from the mirror
|
||||
# So to workaround it, we attempt to install them twice.
|
||||
apt-get --yes --allow-change-held-packages -o dpkg::options::=--force-confnew install ${packages} || apt-get --yes --fix-broken install
|
||||
|
||||
17
mini-x.sh
17
mini-x.sh
@@ -168,8 +168,21 @@ rm -f /debconf.set
|
||||
apt-get update
|
||||
apt-get -y install git-core binutils ca-certificates initramfs-tools u-boot-tools
|
||||
apt-get -y install locales console-common less nano git
|
||||
echo "root:toor" | chpasswd
|
||||
rm -f /etc/udev/rules.d/70-persistent-net.rules
|
||||
|
||||
# Create kali user with kali password... but first, we need to manually make some groups because they don't yet exist...
|
||||
# This mirrors what we have on a pre-installed VM, until the script works properly to allow end users to set up their own... user.
|
||||
# However we leave off floppy, because who a) still uses them, and b) attaches them to an SBC!?
|
||||
# And since a lot of these have serial devices of some sort, dialout is added as well.
|
||||
# scanner, lpadmin and bluetooth have to be added manually because they don't
|
||||
# yet exist in /etc/group at this point.
|
||||
groupadd -r -g 118 bluetooth
|
||||
groupadd -r -g 113 lpadmin
|
||||
groupadd -r -g 122 scanner
|
||||
groupadd -g 1000 kali
|
||||
|
||||
useradd -m -u 1000 -g 1000 -G sudo,audio,bluetooth,cdrom,dialout,dip,lpadmin,netdev,plugdev,scanner,video,kali -s /bin/bash kali
|
||||
echo "kali:kali" | chpasswd
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
# This looks weird, but we do it twice because every so often, there's a failure to download from the mirror
|
||||
# So to workaround it, we attempt to install them twice.
|
||||
|
||||
17
nanopi2.sh
17
nanopi2.sh
@@ -191,8 +191,21 @@ rm -f /debconf.set
|
||||
apt-get update
|
||||
apt-get -y install git-core binutils ca-certificates initramfs-tools u-boot-tools
|
||||
apt-get -y install locales console-common less nano git
|
||||
echo "root:toor" | chpasswd
|
||||
rm -f /etc/udev/rules.d/70-persistent-net.rules
|
||||
|
||||
# Create kali user with kali password... but first, we need to manually make some groups because they don't yet exist...
|
||||
# This mirrors what we have on a pre-installed VM, until the script works properly to allow end users to set up their own... user.
|
||||
# However we leave off floppy, because who a) still uses them, and b) attaches them to an SBC!?
|
||||
# And since a lot of these have serial devices of some sort, dialout is added as well.
|
||||
# scanner, lpadmin and bluetooth have to be added manually because they don't
|
||||
# yet exist in /etc/group at this point.
|
||||
groupadd -r -g 118 bluetooth
|
||||
groupadd -r -g 113 lpadmin
|
||||
groupadd -r -g 122 scanner
|
||||
groupadd -g 1000 kali
|
||||
|
||||
useradd -m -u 1000 -g 1000 -G sudo,audio,bluetooth,cdrom,dialout,dip,lpadmin,netdev,plugdev,scanner,video,kali -s /bin/bash kali
|
||||
echo "kali:kali" | chpasswd
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
# This looks weird, but we do it twice because every so often, there's a failure to download from the mirror
|
||||
# So to workaround it, we attempt to install them twice.
|
||||
|
||||
17
nanopi3.sh
17
nanopi3.sh
@@ -192,8 +192,21 @@ rm -f /debconf.set
|
||||
apt-get update
|
||||
apt-get -y install git-core binutils ca-certificates initramfs-tools u-boot-tools
|
||||
apt-get -y install locales console-common less nano git
|
||||
echo "root:toor" | chpasswd
|
||||
rm -f /etc/udev/rules.d/70-persistent-net.rules
|
||||
|
||||
# Create kali user with kali password... but first, we need to manually make some groups because they don't yet exist...
|
||||
# This mirrors what we have on a pre-installed VM, until the script works properly to allow end users to set up their own... user.
|
||||
# However we leave off floppy, because who a) still uses them, and b) attaches them to an SBC!?
|
||||
# And since a lot of these have serial devices of some sort, dialout is added as well.
|
||||
# scanner, lpadmin and bluetooth have to be added manually because they don't
|
||||
# yet exist in /etc/group at this point.
|
||||
groupadd -r -g 118 bluetooth
|
||||
groupadd -r -g 113 lpadmin
|
||||
groupadd -r -g 122 scanner
|
||||
groupadd -g 1000 kali
|
||||
|
||||
useradd -m -u 1000 -g 1000 -G sudo,audio,bluetooth,cdrom,dialout,dip,lpadmin,netdev,plugdev,scanner,video,kali -s /bin/bash kali
|
||||
echo "kali:kali" | chpasswd
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
# This looks weird, but we do it twice because every so often, there's a failure to download from the mirror
|
||||
# So to workaround it, we attempt to install them twice.
|
||||
|
||||
@@ -259,8 +259,21 @@ rm -f /debconf.set
|
||||
apt-get update
|
||||
apt-get -y install git-core binutils ca-certificates initramfs-tools u-boot-tools
|
||||
apt-get -y install locales console-common less nano git
|
||||
echo "root:toor" | chpasswd
|
||||
rm -f /etc/udev/rules.d/70-persistent-net.rules
|
||||
|
||||
# Create kali user with kali password... but first, we need to manually make some groups because they don't yet exist...
|
||||
# This mirrors what we have on a pre-installed VM, until the script works properly to allow end users to set up their own... user.
|
||||
# However we leave off floppy, because who a) still uses them, and b) attaches them to an SBC!?
|
||||
# And since a lot of these have serial devices of some sort, dialout is added as well.
|
||||
# scanner, lpadmin and bluetooth have to be added manually because they don't
|
||||
# yet exist in /etc/group at this point.
|
||||
groupadd -r -g 118 bluetooth
|
||||
groupadd -r -g 113 lpadmin
|
||||
groupadd -r -g 122 scanner
|
||||
groupadd -g 1000 kali
|
||||
|
||||
useradd -m -u 1000 -g 1000 -G sudo,audio,bluetooth,cdrom,dialout,dip,lpadmin,netdev,plugdev,scanner,video,kali -s /bin/bash kali
|
||||
echo "kali:kali" | chpasswd
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
# This looks weird, but we do it twice because every so often, there's a failure to download from the mirror
|
||||
# So to workaround it, we attempt to install them twice.
|
||||
|
||||
@@ -261,8 +261,21 @@ rm -f /debconf.set
|
||||
apt-get update
|
||||
apt-get -y install git-core binutils ca-certificates initramfs-tools u-boot-tools
|
||||
apt-get -y install locales console-common less nano git
|
||||
echo "root:toor" | chpasswd
|
||||
rm -f /etc/udev/rules.d/70-persistent-net.rules
|
||||
|
||||
# Create kali user with kali password... but first, we need to manually make some groups because they don't yet exist...
|
||||
# This mirrors what we have on a pre-installed VM, until the script works properly to allow end users to set up their own... user.
|
||||
# However we leave off floppy, because who a) still uses them, and b) attaches them to an SBC!?
|
||||
# And since a lot of these have serial devices of some sort, dialout is added as well.
|
||||
# scanner, lpadmin and bluetooth have to be added manually because they don't
|
||||
# yet exist in /etc/group at this point.
|
||||
groupadd -r -g 118 bluetooth
|
||||
groupadd -r -g 113 lpadmin
|
||||
groupadd -r -g 122 scanner
|
||||
groupadd -g 1000 kali
|
||||
|
||||
useradd -m -u 1000 -g 1000 -G sudo,audio,bluetooth,cdrom,dialout,dip,lpadmin,netdev,plugdev,scanner,video,kali -s /bin/bash kali
|
||||
echo "kali:kali" | chpasswd
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
# This looks weird, but we do it twice because every so often, there's a failure to download from the mirror
|
||||
# So to workaround it, we attempt to install them twice.
|
||||
|
||||
17
odroid-c.sh
17
odroid-c.sh
@@ -173,8 +173,21 @@ rm -f /debconf.set
|
||||
apt-get update
|
||||
apt-get -y install git-core binutils ca-certificates initramfs-tools u-boot-tools
|
||||
apt-get -y install locales console-common less nano git
|
||||
echo "root:toor" | chpasswd
|
||||
rm -f /etc/udev/rules.d/70-persistent-net.rules
|
||||
|
||||
# Create kali user with kali password... but first, we need to manually make some groups because they don't yet exist...
|
||||
# This mirrors what we have on a pre-installed VM, until the script works properly to allow end users to set up their own... user.
|
||||
# However we leave off floppy, because who a) still uses them, and b) attaches them to an SBC!?
|
||||
# And since a lot of these have serial devices of some sort, dialout is added as well.
|
||||
# scanner, lpadmin and bluetooth have to be added manually because they don't
|
||||
# yet exist in /etc/group at this point.
|
||||
groupadd -r -g 118 bluetooth
|
||||
groupadd -r -g 113 lpadmin
|
||||
groupadd -r -g 122 scanner
|
||||
groupadd -g 1000 kali
|
||||
|
||||
useradd -m -u 1000 -g 1000 -G sudo,audio,bluetooth,cdrom,dialout,dip,lpadmin,netdev,plugdev,scanner,video,kali -s /bin/bash kali
|
||||
echo "kali:kali" | chpasswd
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
# This looks weird, but we do it twice because every so often, there's a failure to download from the mirror
|
||||
# So to workaround it, we attempt to install them twice.
|
||||
|
||||
@@ -193,8 +193,21 @@ rm -f /debconf.set
|
||||
apt-get update
|
||||
apt-get -y install git-core binutils ca-certificates initramfs-tools u-boot-tools
|
||||
apt-get -y install locales console-common less nano git
|
||||
echo "root:toor" | chpasswd
|
||||
rm -f /etc/udev/rules.d/70-persistent-net.rules
|
||||
|
||||
# Create kali user with kali password... but first, we need to manually make some groups because they don't yet exist...
|
||||
# This mirrors what we have on a pre-installed VM, until the script works properly to allow end users to set up their own... user.
|
||||
# However we leave off floppy, because who a) still uses them, and b) attaches them to an SBC!?
|
||||
# And since a lot of these have serial devices of some sort, dialout is added as well.
|
||||
# scanner, lpadmin and bluetooth have to be added manually because they don't
|
||||
# yet exist in /etc/group at this point.
|
||||
groupadd -r -g 118 bluetooth
|
||||
groupadd -r -g 113 lpadmin
|
||||
groupadd -r -g 122 scanner
|
||||
groupadd -g 1000 kali
|
||||
|
||||
useradd -m -u 1000 -g 1000 -G sudo,audio,bluetooth,cdrom,dialout,dip,lpadmin,netdev,plugdev,scanner,video,kali -s /bin/bash kali
|
||||
echo "kali:kali" | chpasswd
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
# This looks weird, but we do it twice because every so often, there's a failure to download from the mirror
|
||||
# So to workaround it, we attempt to install them twice.
|
||||
|
||||
17
odroid-c2.sh
17
odroid-c2.sh
@@ -192,8 +192,21 @@ rm -f /debconf.set
|
||||
apt-get update
|
||||
apt-get -y install git-core binutils ca-certificates initramfs-tools u-boot-tools
|
||||
apt-get -y install locales console-common less nano git
|
||||
echo "root:toor" | chpasswd
|
||||
rm -f /etc/udev/rules.d/70-persistent-net.rules
|
||||
|
||||
# Create kali user with kali password... but first, we need to manually make some groups because they don't yet exist...
|
||||
# This mirrors what we have on a pre-installed VM, until the script works properly to allow end users to set up their own... user.
|
||||
# However we leave off floppy, because who a) still uses them, and b) attaches them to an SBC!?
|
||||
# And since a lot of these have serial devices of some sort, dialout is added as well.
|
||||
# scanner, lpadmin and bluetooth have to be added manually because they don't
|
||||
# yet exist in /etc/group at this point.
|
||||
groupadd -r -g 118 bluetooth
|
||||
groupadd -r -g 113 lpadmin
|
||||
groupadd -r -g 122 scanner
|
||||
groupadd -g 1000 kali
|
||||
|
||||
useradd -m -u 1000 -g 1000 -G sudo,audio,bluetooth,cdrom,dialout,dip,lpadmin,netdev,plugdev,scanner,video,kali -s /bin/bash kali
|
||||
echo "kali:kali" | chpasswd
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
apt-get --yes --allow-change-held-packages -o dpkg::options::=--force-confnew install ${packages} || apt-get --yes --fix-broken install
|
||||
apt-get --yes --allow-change-held-packages -o dpkg::options::=--force-confnew install ${packages} || apt-get --yes --fix-broken install
|
||||
|
||||
17
odroid-u2.sh
17
odroid-u2.sh
@@ -173,8 +173,21 @@ rm -f /debconf.set
|
||||
apt-get update
|
||||
apt-get -y install git-core binutils ca-certificates initramfs-tools u-boot-tools
|
||||
apt-get -y install locales console-common less nano git
|
||||
echo "root:toor" | chpasswd
|
||||
rm -f /etc/udev/rules.d/70-persistent-net.rules
|
||||
|
||||
# Create kali user with kali password... but first, we need to manually make some groups because they don't yet exist...
|
||||
# This mirrors what we have on a pre-installed VM, until the script works properly to allow end users to set up their own... user.
|
||||
# However we leave off floppy, because who a) still uses them, and b) attaches them to an SBC!?
|
||||
# And since a lot of these have serial devices of some sort, dialout is added as well.
|
||||
# scanner, lpadmin and bluetooth have to be added manually because they don't
|
||||
# yet exist in /etc/group at this point.
|
||||
groupadd -r -g 118 bluetooth
|
||||
groupadd -r -g 113 lpadmin
|
||||
groupadd -r -g 122 scanner
|
||||
groupadd -g 1000 kali
|
||||
|
||||
useradd -m -u 1000 -g 1000 -G sudo,audio,bluetooth,cdrom,dialout,dip,lpadmin,netdev,plugdev,scanner,video,kali -s /bin/bash kali
|
||||
echo "kali:kali" | chpasswd
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
# This looks weird, but we do it twice because every so often, there's a failure to download from the mirror
|
||||
# So to workaround it, we attempt to install them twice.
|
||||
|
||||
@@ -170,8 +170,21 @@ rm -f /debconf.set
|
||||
apt-get update
|
||||
apt-get -y install git-core binutils ca-certificates initramfs-tools u-boot-tools
|
||||
apt-get -y install locales console-common less nano git
|
||||
echo "root:toor" | chpasswd
|
||||
rm -f /etc/udev/rules.d/70-persistent-net.rules
|
||||
|
||||
# Create kali user with kali password... but first, we need to manually make some groups because they don't yet exist...
|
||||
# This mirrors what we have on a pre-installed VM, until the script works properly to allow end users to set up their own... user.
|
||||
# However we leave off floppy, because who a) still uses them, and b) attaches them to an SBC!?
|
||||
# And since a lot of these have serial devices of some sort, dialout is added as well.
|
||||
# scanner, lpadmin and bluetooth have to be added manually because they don't
|
||||
# yet exist in /etc/group at this point.
|
||||
groupadd -r -g 118 bluetooth
|
||||
groupadd -r -g 113 lpadmin
|
||||
groupadd -r -g 122 scanner
|
||||
groupadd -g 1000 kali
|
||||
|
||||
useradd -m -u 1000 -g 1000 -G sudo,audio,bluetooth,cdrom,dialout,dip,lpadmin,netdev,plugdev,scanner,video,kali -s /bin/bash kali
|
||||
echo "kali:kali" | chpasswd
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
# This looks weird, but we do it twice because every so often, there's a failure to download from the mirror
|
||||
# So to workaround it, we attempt to install them twice.
|
||||
|
||||
17
odroid-w.sh
17
odroid-w.sh
@@ -171,8 +171,21 @@ rm -f /debconf.set
|
||||
apt-get update
|
||||
apt-get -y install git-core binutils ca-certificates initramfs-tools u-boot-tools
|
||||
apt-get -y install locales console-common less nano git
|
||||
echo "root:toor" | chpasswd
|
||||
rm -f /etc/udev/rules.d/70-persistent-net.rules
|
||||
|
||||
# Create kali user with kali password... but first, we need to manually make some groups because they don't yet exist...
|
||||
# This mirrors what we have on a pre-installed VM, until the script works properly to allow end users to set up their own... user.
|
||||
# However we leave off floppy, because who a) still uses them, and b) attaches them to an SBC!?
|
||||
# And since a lot of these have serial devices of some sort, dialout is added as well.
|
||||
# scanner, lpadmin and bluetooth have to be added manually because they don't
|
||||
# yet exist in /etc/group at this point.
|
||||
groupadd -r -g 118 bluetooth
|
||||
groupadd -r -g 113 lpadmin
|
||||
groupadd -r -g 122 scanner
|
||||
groupadd -g 1000 kali
|
||||
|
||||
useradd -m -u 1000 -g 1000 -G sudo,audio,bluetooth,cdrom,dialout,dip,lpadmin,netdev,plugdev,scanner,video,kali -s /bin/bash kali
|
||||
echo "kali:kali" | chpasswd
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
# This looks weird, but we do it twice because every so often, there's a failure to download from the mirror
|
||||
# So to workaround it, we attempt to install them twice.
|
||||
|
||||
17
odroid-xu.sh
17
odroid-xu.sh
@@ -178,8 +178,21 @@ rm -f /debconf.set
|
||||
apt-get update
|
||||
apt-get -y install git-core binutils ca-certificates initramfs-tools u-boot-tools
|
||||
apt-get -y install locales console-common less nano git
|
||||
echo "root:toor" | chpasswd
|
||||
rm -f /etc/udev/rules.d/70-persistent-net.rules
|
||||
|
||||
# Create kali user with kali password... but first, we need to manually make some groups because they don't yet exist...
|
||||
# This mirrors what we have on a pre-installed VM, until the script works properly to allow end users to set up their own... user.
|
||||
# However we leave off floppy, because who a) still uses them, and b) attaches them to an SBC!?
|
||||
# And since a lot of these have serial devices of some sort, dialout is added as well.
|
||||
# scanner, lpadmin and bluetooth have to be added manually because they don't
|
||||
# yet exist in /etc/group at this point.
|
||||
groupadd -r -g 118 bluetooth
|
||||
groupadd -r -g 113 lpadmin
|
||||
groupadd -r -g 122 scanner
|
||||
groupadd -g 1000 kali
|
||||
|
||||
useradd -m -u 1000 -g 1000 -G sudo,audio,bluetooth,cdrom,dialout,dip,lpadmin,netdev,plugdev,scanner,video,kali -s /bin/bash kali
|
||||
echo "kali:kali" | chpasswd
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
# This looks weird, but we do it twice because every so often, there's a failure to download from the mirror
|
||||
# So to workaround it, we attempt to install them twice.
|
||||
|
||||
@@ -176,8 +176,21 @@ rm -f /debconf.set
|
||||
apt-get update
|
||||
apt-get -y install git-core binutils ca-certificates initramfs-tools u-boot-tools
|
||||
apt-get -y install locales console-common less nano git
|
||||
echo "root:toor" | chpasswd
|
||||
rm -f /etc/udev/rules.d/70-persistent-net.rules
|
||||
|
||||
# Create kali user with kali password... but first, we need to manually make some groups because they don't yet exist...
|
||||
# This mirrors what we have on a pre-installed VM, until the script works properly to allow end users to set up their own... user.
|
||||
# However we leave off floppy, because who a) still uses them, and b) attaches them to an SBC!?
|
||||
# And since a lot of these have serial devices of some sort, dialout is added as well.
|
||||
# scanner, lpadmin and bluetooth have to be added manually because they don't
|
||||
# yet exist in /etc/group at this point.
|
||||
groupadd -r -g 118 bluetooth
|
||||
groupadd -r -g 113 lpadmin
|
||||
groupadd -r -g 122 scanner
|
||||
groupadd -g 1000 kali
|
||||
|
||||
useradd -m -u 1000 -g 1000 -G sudo,audio,bluetooth,cdrom,dialout,dip,lpadmin,netdev,plugdev,scanner,video,kali -s /bin/bash kali
|
||||
echo "kali:kali" | chpasswd
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
# This looks weird, but we do it twice because every so often, there's a failure to download from the mirror
|
||||
# So to workaround it, we attempt to install them twice.
|
||||
|
||||
@@ -177,8 +177,21 @@ rm -f /debconf.set
|
||||
apt-get update
|
||||
apt-get -y install git-core binutils ca-certificates cryptsetup-bin initramfs-tools u-boot-tools
|
||||
apt-get -y install locales console-common less nano git
|
||||
echo "root:toor" | chpasswd
|
||||
rm -f /etc/udev/rules.d/70-persistent-net.rules
|
||||
|
||||
# Create kali user with kali password... but first, we need to manually make some groups because they don't yet exist...
|
||||
# This mirrors what we have on a pre-installed VM, until the script works properly to allow end users to set up their own... user.
|
||||
# However we leave off floppy, because who a) still uses them, and b) attaches them to an SBC!?
|
||||
# And since a lot of these have serial devices of some sort, dialout is added as well.
|
||||
# scanner, lpadmin and bluetooth have to be added manually because they don't
|
||||
# yet exist in /etc/group at this point.
|
||||
groupadd -r -g 118 bluetooth
|
||||
groupadd -r -g 113 lpadmin
|
||||
groupadd -r -g 122 scanner
|
||||
groupadd -g 1000 kali
|
||||
|
||||
useradd -m -u 1000 -g 1000 -G sudo,audio,bluetooth,cdrom,dialout,dip,lpadmin,netdev,plugdev,scanner,video,kali -s /bin/bash kali
|
||||
echo "kali:kali" | chpasswd
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
# This looks weird, but we do it twice because every so often, there's a failure to download from the mirror
|
||||
# So to workaround it, we attempt to install them twice.
|
||||
|
||||
20
pinebook.sh
20
pinebook.sh
@@ -191,8 +191,21 @@ rm -f /debconf.set
|
||||
apt-get update
|
||||
apt-get -y install git-core binutils ca-certificates cryptsetup-bin initramfs-tools u-boot-tools
|
||||
apt-get -y install locales console-common less nano git
|
||||
echo "root:toor" | chpasswd
|
||||
rm -f /etc/udev/rules.d/70-persistent-net.rules
|
||||
|
||||
# Create kali user with kali password... but first, we need to manually make some groups because they don't yet exist...
|
||||
# This mirrors what we have on a pre-installed VM, until the script works properly to allow end users to set up their own... user.
|
||||
# However we leave off floppy, because who a) still uses them, and b) attaches them to an SBC!?
|
||||
# And since a lot of these have serial devices of some sort, dialout is added as well.
|
||||
# scanner, lpadmin and bluetooth have to be added manually because they don't
|
||||
# yet exist in /etc/group at this point.
|
||||
groupadd -r -g 118 bluetooth
|
||||
groupadd -r -g 113 lpadmin
|
||||
groupadd -r -g 122 scanner
|
||||
groupadd -g 1000 kali
|
||||
|
||||
useradd -m -u 1000 -g 1000 -G sudo,audio,bluetooth,cdrom,dialout,dip,lpadmin,netdev,plugdev,scanner,video,kali -s /bin/bash kali
|
||||
echo "kali:kali" | chpasswd
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
# This looks weird, but we do it twice because every so often, there's a failure to download from the mirror
|
||||
# So to workaround it, we attempt to install them twice.
|
||||
@@ -220,6 +233,9 @@ cd /root
|
||||
apt download ca-certificates
|
||||
apt download libgdk-pixbuf2.0-0
|
||||
apt download fontconfig
|
||||
|
||||
|
||||
|
||||
apt --yes --download-only install kali-linux-default
|
||||
|
||||
# We replace the u-boot menu defaults here so we can make sure the build system doesn't poison it.
|
||||
|
||||
17
riot.sh
17
riot.sh
@@ -198,8 +198,21 @@ rm -f /debconf.set
|
||||
apt-get update
|
||||
apt-get -y install git-core binutils ca-certificates initramfs-tools u-boot-tools
|
||||
apt-get -y install locales console-common less nano git
|
||||
echo "root:toor" | chpasswd
|
||||
rm -f /etc/udev/rules.d/70-persistent-net.rules
|
||||
|
||||
# Create kali user with kali password... but first, we need to manually make some groups because they don't yet exist...
|
||||
# This mirrors what we have on a pre-installed VM, until the script works properly to allow end users to set up their own... user.
|
||||
# However we leave off floppy, because who a) still uses them, and b) attaches them to an SBC!?
|
||||
# And since a lot of these have serial devices of some sort, dialout is added as well.
|
||||
# scanner, lpadmin and bluetooth have to be added manually because they don't
|
||||
# yet exist in /etc/group at this point.
|
||||
groupadd -r -g 118 bluetooth
|
||||
groupadd -r -g 113 lpadmin
|
||||
groupadd -r -g 122 scanner
|
||||
groupadd -g 1000 kali
|
||||
|
||||
useradd -m -u 1000 -g 1000 -G sudo,audio,bluetooth,cdrom,dialout,dip,lpadmin,netdev,plugdev,scanner,video,kali -s /bin/bash kali
|
||||
echo "kali:kali" | chpasswd
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
# This looks weird, but we do it twice because every so often, there's a failure to download from the mirror
|
||||
# So to workaround it, we attempt to install them twice.
|
||||
|
||||
17
rpi.sh
17
rpi.sh
@@ -209,8 +209,21 @@ debconf-set-selections /debconf.set
|
||||
rm -f /debconf.set
|
||||
apt-get -y install git-core binutils ca-certificates initramfs-tools u-boot-tools
|
||||
apt-get -y install locales console-common less nano git
|
||||
echo "root:toor" | chpasswd
|
||||
rm -f /etc/udev/rules.d/70-persistent-net.rules
|
||||
|
||||
# Create kali user with kali password... but first, we need to manually make some groups because they don't yet exist...
|
||||
# This mirrors what we have on a pre-installed VM, until the script works properly to allow end users to set up their own... user.
|
||||
# However we leave off floppy, because who a) still uses them, and b) attaches them to an SBC!?
|
||||
# And since a lot of these have serial devices of some sort, dialout is added as well.
|
||||
# scanner, lpadmin and bluetooth have to be added manually because they don't
|
||||
# yet exist in /etc/group at this point.
|
||||
groupadd -r -g 118 bluetooth
|
||||
groupadd -r -g 113 lpadmin
|
||||
groupadd -r -g 122 scanner
|
||||
groupadd -g 1000 kali
|
||||
|
||||
useradd -m -u 1000 -g 1000 -G sudo,audio,bluetooth,cdrom,dialout,dip,lpadmin,netdev,plugdev,scanner,video,kali -s /bin/bash kali
|
||||
echo "kali:kali" | chpasswd
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
# This looks weird, but we do it twice because every so often, there's a failure to download from the mirror
|
||||
# So to workaround it, we attempt to install them twice.
|
||||
|
||||
@@ -259,8 +259,21 @@ rm -f /debconf.set
|
||||
apt-get update
|
||||
apt-get -y install git-core binutils ca-certificates initramfs-tools u-boot-tools
|
||||
apt-get -y install locales console-common less nano git
|
||||
echo "root:toor" | chpasswd
|
||||
rm -f /etc/udev/rules.d/70-persistent-net.rules
|
||||
|
||||
# Create kali user with kali password... but first, we need to manually make some groups because they don't yet exist...
|
||||
# This mirrors what we have on a pre-installed VM, until the script works properly to allow end users to set up their own... user.
|
||||
# However we leave off floppy, because who a) still uses them, and b) attaches them to an SBC!?
|
||||
# And since a lot of these have serial devices of some sort, dialout is added as well.
|
||||
# scanner, lpadmin and bluetooth have to be added manually because they don't
|
||||
# yet exist in /etc/group at this point.
|
||||
groupadd -r -g 118 bluetooth
|
||||
groupadd -r -g 113 lpadmin
|
||||
groupadd -r -g 122 scanner
|
||||
groupadd -g 1000 kali
|
||||
|
||||
useradd -m -u 1000 -g 1000 -G sudo,audio,bluetooth,cdrom,dialout,dip,lpadmin,netdev,plugdev,scanner,video,kali -s /bin/bash kali
|
||||
echo "kali:kali" | chpasswd
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
apt-get --yes --allow-change-held-packages -o dpkg::options::=--force-confnew install ${packages} || apt-get --yes --fix-broken install
|
||||
apt-get --yes --allow-change-held-packages -o dpkg::options::=--force-confnew install ${packages} || apt-get --yes --fix-broken install
|
||||
|
||||
@@ -261,8 +261,21 @@ rm -f /debconf.set
|
||||
apt-get update
|
||||
apt-get -y install git-core binutils ca-certificates initramfs-tools u-boot-tools
|
||||
apt-get -y install locales console-common less nano git
|
||||
echo "root:toor" | chpasswd
|
||||
rm -f /etc/udev/rules.d/70-persistent-net.rules
|
||||
|
||||
# Create kali user with kali password... but first, we need to manually make some groups because they don't yet exist...
|
||||
# This mirrors what we have on a pre-installed VM, until the script works properly to allow end users to set up their own... user.
|
||||
# However we leave off floppy, because who a) still uses them, and b) attaches them to an SBC!?
|
||||
# And since a lot of these have serial devices of some sort, dialout is added as well.
|
||||
# scanner, lpadmin and bluetooth have to be added manually because they don't
|
||||
# yet exist in /etc/group at this point.
|
||||
groupadd -r -g 118 bluetooth
|
||||
groupadd -r -g 113 lpadmin
|
||||
groupadd -r -g 122 scanner
|
||||
groupadd -g 1000 kali
|
||||
|
||||
useradd -m -u 1000 -g 1000 -G sudo,audio,bluetooth,cdrom,dialout,dip,lpadmin,netdev,plugdev,scanner,video,kali -s /bin/bash kali
|
||||
echo "kali:kali" | chpasswd
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
apt-get --yes --allow-change-held-packages -o dpkg::options::=--force-confnew install ${packages} || apt-get --yes --fix-broken install
|
||||
apt-get --yes --allow-change-held-packages -o dpkg::options::=--force-confnew install ${packages} || apt-get --yes --fix-broken install
|
||||
|
||||
17
rpi2.sh
17
rpi2.sh
@@ -215,8 +215,21 @@ rm -f /debconf.set
|
||||
apt-get update
|
||||
apt-get -y install git-core binutils ca-certificates initramfs-tools u-boot-tools
|
||||
apt-get -y install locales console-common less nano git
|
||||
echo "root:toor" | chpasswd
|
||||
rm -f /etc/udev/rules.d/70-persistent-net.rules
|
||||
|
||||
# Create kali user with kali password... but first, we need to manually make some groups because they don't yet exist...
|
||||
# This mirrors what we have on a pre-installed VM, until the script works properly to allow end users to set up their own... user.
|
||||
# However we leave off floppy, because who a) still uses them, and b) attaches them to an SBC!?
|
||||
# And since a lot of these have serial devices of some sort, dialout is added as well.
|
||||
# scanner, lpadmin and bluetooth have to be added manually because they don't
|
||||
# yet exist in /etc/group at this point.
|
||||
groupadd -r -g 118 bluetooth
|
||||
groupadd -r -g 113 lpadmin
|
||||
groupadd -r -g 122 scanner
|
||||
groupadd -g 1000 kali
|
||||
|
||||
useradd -m -u 1000 -g 1000 -G sudo,audio,bluetooth,cdrom,dialout,dip,lpadmin,netdev,plugdev,scanner,video,kali -s /bin/bash kali
|
||||
echo "kali:kali" | chpasswd
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
apt-get --yes --allow-change-held-packages -o dpkg::options::=--force-confnew install ${packages} || apt-get --yes --fix-broken install
|
||||
apt-get --yes --allow-change-held-packages -o dpkg::options::=--force-confnew install ${packages} || apt-get --yes --fix-broken install
|
||||
|
||||
@@ -225,7 +225,21 @@ debconf-set-selections /debconf.set
|
||||
rm -f /debconf.set
|
||||
apt-get -y install git-core binutils ca-certificates initramfs-tools u-boot-tools
|
||||
apt-get -y install locales console-common less nano git
|
||||
echo "root:toor" | chpasswd
|
||||
|
||||
# Create kali user with kali password... but first, we need to manually make some groups because they don't yet exist...
|
||||
# This mirrors what we have on a pre-installed VM, until the script works properly to allow end users to set up their own... user.
|
||||
# However we leave off floppy, because who a) still uses them, and b) attaches them to an SBC!?
|
||||
# And since a lot of these have serial devices of some sort, dialout is added as well.
|
||||
# scanner, lpadmin and bluetooth have to be added manually because they don't
|
||||
# yet exist in /etc/group at this point.
|
||||
groupadd -r -g 118 bluetooth
|
||||
groupadd -r -g 113 lpadmin
|
||||
groupadd -r -g 122 scanner
|
||||
groupadd -g 1000 kali
|
||||
|
||||
useradd -m -u 1000 -g 1000 -G sudo,audio,bluetooth,cdrom,dialout,dip,lpadmin,netdev,plugdev,scanner,video,kali -s /bin/bash kali
|
||||
echo "kali:kali" | chpasswd
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
apt-get --yes --allow-change-held-packages -o dpkg::options::=--force-confnew install ${packages} || apt-get --yes --fix-broken install
|
||||
apt-get --yes --allow-change-held-packages -o dpkg::options::=--force-confnew install ${packages} || apt-get --yes --fix-broken install
|
||||
|
||||
@@ -225,7 +225,21 @@ debconf-set-selections /debconf.set
|
||||
rm -f /debconf.set
|
||||
apt-get -y install git-core binutils ca-certificates initramfs-tools u-boot-tools
|
||||
apt-get -y install locales console-common less nano git
|
||||
echo "root:toor" | chpasswd
|
||||
|
||||
# Create kali user with kali password... but first, we need to manually make some groups because they don't yet exist...
|
||||
# This mirrors what we have on a pre-installed VM, until the script works properly to allow end users to set up their own... user.
|
||||
# However we leave off floppy, because who a) still uses them, and b) attaches them to an SBC!?
|
||||
# And since a lot of these have serial devices of some sort, dialout is added as well.
|
||||
# scanner, lpadmin and bluetooth have to be added manually because they don't
|
||||
# yet exist in /etc/group at this point.
|
||||
groupadd -r -g 118 bluetooth
|
||||
groupadd -r -g 113 lpadmin
|
||||
groupadd -r -g 122 scanner
|
||||
groupadd -g 1000 kali
|
||||
|
||||
useradd -m -u 1000 -g 1000 -G sudo,audio,bluetooth,cdrom,dialout,dip,lpadmin,netdev,plugdev,scanner,video,kali -s /bin/bash kali
|
||||
echo "kali:kali" | chpasswd
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
# This looks weird, but we do it twice because every so often, there's a failure to download from the mirror
|
||||
# So to workaround it, we attempt to install them twice.
|
||||
|
||||
@@ -232,7 +232,21 @@ debconf-set-selections /debconf.set
|
||||
rm -f /debconf.set
|
||||
apt-get -y install git-core binutils ca-certificates initramfs-tools u-boot-tools
|
||||
apt-get -y install locales console-common less nano git
|
||||
echo "root:toor" | chpasswd
|
||||
|
||||
# Create kali user with kali password... but first, we need to manually make some groups because they don't yet exist...
|
||||
# This mirrors what we have on a pre-installed VM, until the script works properly to allow end users to set up their own... user.
|
||||
# However we leave off floppy, because who a) still uses them, and b) attaches them to an SBC!?
|
||||
# And since a lot of these have serial devices of some sort, dialout is added as well.
|
||||
# scanner, lpadmin and bluetooth have to be added manually because they don't
|
||||
# yet exist in /etc/group at this point.
|
||||
groupadd -r -g 118 bluetooth
|
||||
groupadd -r -g 113 lpadmin
|
||||
groupadd -r -g 122 scanner
|
||||
groupadd -g 1000 kali
|
||||
|
||||
useradd -m -u 1000 -g 1000 -G sudo,audio,bluetooth,cdrom,dialout,dip,lpadmin,netdev,plugdev,scanner,video,kali -s /bin/bash kali
|
||||
echo "kali:kali" | chpasswd
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
# This looks weird, but we do it twice because every so often, there's a failure to download from the mirror
|
||||
# So to workaround it, we attempt to install them twice.
|
||||
|
||||
17
trimslice.sh
17
trimslice.sh
@@ -210,8 +210,21 @@ rm -f /debconf.set
|
||||
apt-get update
|
||||
apt-get -y install git-core binutils ca-certificates initramfs-tools u-boot-tools
|
||||
apt-get -y install locales console-common less nano git
|
||||
echo "root:toor" | chpasswd
|
||||
rm -f /etc/udev/rules.d/70-persistent-net.rules
|
||||
|
||||
# Create kali user with kali password... but first, we need to manually make some groups because they don't yet exist...
|
||||
# This mirrors what we have on a pre-installed VM, until the script works properly to allow end users to set up their own... user.
|
||||
# However we leave off floppy, because who a) still uses them, and b) attaches them to an SBC!?
|
||||
# And since a lot of these have serial devices of some sort, dialout is added as well.
|
||||
# scanner, lpadmin and bluetooth have to be added manually because they don't
|
||||
# yet exist in /etc/group at this point.
|
||||
groupadd -r -g 118 bluetooth
|
||||
groupadd -r -g 113 lpadmin
|
||||
groupadd -r -g 122 scanner
|
||||
groupadd -g 1000 kali
|
||||
|
||||
useradd -m -u 1000 -g 1000 -G sudo,audio,bluetooth,cdrom,dialout,dip,lpadmin,netdev,plugdev,scanner,video,kali -s /bin/bash kali
|
||||
echo "kali:kali" | chpasswd
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
# This looks weird, but we do it twice because every so often, there's a failure to download from the mirror
|
||||
# So to workaround it, we attempt to install them twice.
|
||||
|
||||
17
usbarmory.sh
17
usbarmory.sh
@@ -168,8 +168,21 @@ rm -f /debconf.set
|
||||
apt-get update
|
||||
apt-get -y install git-core binutils ca-certificates initramfs-tools u-boot-tools
|
||||
apt-get -y install locales console-common less nano git
|
||||
echo "root:toor" | chpasswd
|
||||
rm -f /etc/udev/rules.d/70-persistent-net.rules
|
||||
|
||||
# Create kali user with kali password... but first, we need to manually make some groups because they don't yet exist...
|
||||
# This mirrors what we have on a pre-installed VM, until the script works properly to allow end users to set up their own... user.
|
||||
# However we leave off floppy, because who a) still uses them, and b) attaches them to an SBC!?
|
||||
# And since a lot of these have serial devices of some sort, dialout is added as well.
|
||||
# scanner, lpadmin and bluetooth have to be added manually because they don't
|
||||
# yet exist in /etc/group at this point.
|
||||
groupadd -r -g 118 bluetooth
|
||||
groupadd -r -g 113 lpadmin
|
||||
groupadd -r -g 122 scanner
|
||||
groupadd -g 1000 kali
|
||||
|
||||
useradd -m -u 1000 -g 1000 -G sudo,audio,bluetooth,cdrom,dialout,dip,lpadmin,netdev,plugdev,scanner,video,kali -s /bin/bash kali
|
||||
echo "kali:kali" | chpasswd
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
# This looks weird, but we do it twice because every so often, there's a failure to download from the mirror
|
||||
# So to workaround it, we attempt to install them twice.
|
||||
|
||||
17
utilite.sh
17
utilite.sh
@@ -189,8 +189,21 @@ rm -f /debconf.set
|
||||
apt-get update
|
||||
apt-get -y install git-core binutils ca-certificates initramfs-tools u-boot-tools
|
||||
apt-get -y install locales console-common less nano git
|
||||
echo "root:toor" | chpasswd
|
||||
rm -f /etc/udev/rules.d/70-persistent-net.rules
|
||||
|
||||
# Create kali user with kali password... but first, we need to manually make some groups because they don't yet exist...
|
||||
# This mirrors what we have on a pre-installed VM, until the script works properly to allow end users to set up their own... user.
|
||||
# However we leave off floppy, because who a) still uses them, and b) attaches them to an SBC!?
|
||||
# And since a lot of these have serial devices of some sort, dialout is added as well.
|
||||
# scanner, lpadmin and bluetooth have to be added manually because they don't
|
||||
# yet exist in /etc/group at this point.
|
||||
groupadd -r -g 118 bluetooth
|
||||
groupadd -r -g 113 lpadmin
|
||||
groupadd -r -g 122 scanner
|
||||
groupadd -g 1000 kali
|
||||
|
||||
useradd -m -u 1000 -g 1000 -G sudo,audio,bluetooth,cdrom,dialout,dip,lpadmin,netdev,plugdev,scanner,video,kali -s /bin/bash kali
|
||||
echo "kali:kali" | chpasswd
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
# This looks weird, but we do it twice because every so often, there's a failure to download from the mirror
|
||||
# So to workaround it, we attempt to install them twice.
|
||||
|
||||
Reference in New Issue
Block a user