add history
This commit is contained in:
47
history/.bash_history_root
Normal file
47
history/.bash_history_root
Normal file
@@ -0,0 +1,47 @@
|
||||
ln -sf /usr/share/zoneinfo/US/Eastern /etc/localtime
|
||||
hwclock --systohc
|
||||
vim /etc/locale.gen
|
||||
locale-gen
|
||||
vim /etc/locale.conf
|
||||
vim /etc/locale.conf
|
||||
vim /etc/hostname
|
||||
ls /boot/
|
||||
echo $(sudo blkid) > /etc/kernel/cmdline
|
||||
vim /etc/kernel/cmdline
|
||||
vim /etc/mkinitcpio.conf
|
||||
vim /etc/mkinitcpio.d/linux-lts.preset
|
||||
mkinitcpio -P
|
||||
vim /etc/mkinitcpio.d/linux-lts.preset
|
||||
mkinitcpio -P
|
||||
loadkeys us
|
||||
mkinitcpio -P
|
||||
vim /etc/vconsole.conf
|
||||
mkinitcpio -P
|
||||
passwd
|
||||
git init linux-audit
|
||||
rm -rf linux-audit/
|
||||
useradd -m -G wheel,aryan -s zsh aryan
|
||||
useradd -m -G wheel -s zsh aryan
|
||||
useradd -m -G wheel -s /bin/zsh aryan
|
||||
useradd -m -G wheel -s /bin/zsh aryan
|
||||
cat /etc/passwd
|
||||
cat /etc/shadow
|
||||
passwd -Sa
|
||||
passwd aryan
|
||||
ls
|
||||
mv base-image.sha256sum /home/aryan/audit/hashes/
|
||||
chown aryan:aryan /home/aryan/audit/hashes/
|
||||
ls -la
|
||||
cat .zsh_history
|
||||
mv .zsh_history /home/aryan/
|
||||
chown aryan:aryan /home/aryan/.zsh_history
|
||||
systemctl enable --now iwd.service
|
||||
iwctl
|
||||
ping 8.8.8.8
|
||||
ping 1.1.1.1
|
||||
iwctl
|
||||
ping 1.1.1.1
|
||||
ping 1.1.1.1
|
||||
ping 1.1.1.1
|
||||
ping 1.1.1.1
|
||||
iwctl
|
||||
45
history/.zsh_history
Normal file
45
history/.zsh_history
Normal file
@@ -0,0 +1,45 @@
|
||||
lsblk
|
||||
sudo cryptsetup open /dev/nvme0n1p2 boson
|
||||
sudo mount /dev/nvme0n1p2 /mnt
|
||||
sudo mount /dev/mapper/boson /mnt
|
||||
sudo mount /dev/nvme0n1p1 /mnt/boot
|
||||
ls /mnt
|
||||
iwd
|
||||
iwctl
|
||||
ping 1.1.1.1
|
||||
timedatectl
|
||||
pacstrap -K /mnt base base-devel linux-lts linux-firmware iwd vim e2fsprogs openssh git efibootmgr linux-lts-headers wpa_supplicant zsh
|
||||
genfstab -U /mnt >> /mnt/etc/fstab
|
||||
arch-chroot /mnt
|
||||
efibootmgr --create --disk /dev/nvme0n1 --part 1 --label "AL" --loader "\boot\arch-linux-lts.efi" --unicode
|
||||
efibootmgr -Bb 0002
|
||||
cp ~/.zsh_history /mnt/root/
|
||||
find /mnt -print0 | xargs -0 sha256sum | tee base-image.sha256sum
|
||||
mv ~/base-image.sha256sum /mnt/root
|
||||
ls /mnt/root
|
||||
ls /mnt/root/ -la
|
||||
cp ~/.zsh_history /mnt/root/
|
||||
cat ~/.zsh_history
|
||||
cat ~/.zsh_history
|
||||
cat ~/.zsh_history
|
||||
cat ~/.zsh_history
|
||||
ls
|
||||
ls -la
|
||||
iwctl
|
||||
ping 1.1.1.1
|
||||
iwctl
|
||||
ping 1.1.1.1
|
||||
ping 1.1.1.1
|
||||
ping 1.1.1.1
|
||||
ping 1.1.1.1
|
||||
ping 1.1.1.1
|
||||
ping 8.8.8.8
|
||||
ping 8.8.8.8
|
||||
ip a s
|
||||
ip a s
|
||||
vim audit/notes/main.md
|
||||
chsh bash
|
||||
chsh aryan bash
|
||||
csh aryan bash
|
||||
chsh aryan -s bash
|
||||
chsh aryan -s /bin/bash
|
||||
@@ -6,7 +6,8 @@ command: `find /mnt -print0 | xargs -0 sha256sum | tee base-image.sha256sum`
|
||||
- issues faced
|
||||
- `/etc/kernel/cmdline:rd.luks.name=UUID=name` -- BOOT ERROR -- UUID is of superblock not LUKS container, should be correct in ansible
|
||||
- `efibootmgr * --loader "PATH"` -- PATH INVALID ERROR -- PATH doesnt require mount name, oops, should be correct in ansible
|
||||
|
||||
history:
|
||||
- me, a data horder? psshhh, nahhh
|
||||
|
||||
# manual install compare-to
|
||||
|
||||
|
||||
Reference in New Issue
Block a user