Commit Graph

26 Commits

Author SHA1 Message Date
c68fadd9aa Refactor terminal setup to use loop for both users
- Single loop handles both user and root setup
- Install oh-my-zsh, powerlevel10k, and dotfiles for both
- Fix shell change using sed instead of chsh command
- Cleaner, more maintainable code structure

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-18 21:22:35 +02:00
a707af5b7a Install dotfiles and zsh configuration for root
- Install oh-my-zsh and powerlevel10k for both user and root
- Copy dotfiles to both user and root home directories
- Set zsh as default shell for root
- Root now has same terminal experience as user

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-18 21:12:08 +02:00
9739367f38 Harden SSH configuration completely
- Disable root login
- Disable password authentication entirely
- Disable PAM authentication
- Only allow specific user via AllowUsers
- Add clear status messages

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-18 21:09:55 +02:00
4895b7d733 Add passwordless sudo for the user
- Configure NOPASSWD: ALL for the created user
- Create proper sudoers.d file with correct permissions
- User no longer needs to enter password for sudo commands

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-18 21:09:16 +02:00
c19ec14cfd Fix unlock-luks script and SSH key management
- Make unlock-luks work in minimal initramfs environment
- Handle missing lsblk and systemd-ask-password --list
- Try to use same SSH host key for dropbear and OpenSSH
- Add clear documentation about fingerprint differences
- Better error handling and debugging output

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-18 21:02:50 +02:00
4e1129c368 Simplify to only use ED25519 host keys
- Remove RSA and ECDSA key generation (legacy crypto)
- Only generate and use ED25519 keys (most secure)
- Simplify both main script and dracut module

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-18 21:00:16 +02:00
aa9bac2c5b Add SHA256 fingerprint display for ED25519 host key
- Show SHA256 fingerprint for ed25519 key (modern standard)
- Keep SHA1 output from dropbearkey for other keys
- Clean up key generation output

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-18 20:55:40 +02:00
555987af40 Fix SSH port in post-install message
- Update from port 2222 to port 22 for dropbear
- Remove redundant -p flag since 22 is default SSH port

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-18 20:46:12 +02:00
eb7a74e6fc Fix basename error in dotfiles installation
- Properly handle . and .. in dotfile copy loop
- Change directory before listing to avoid path issues
- Explicitly exclude . and .. from file copying

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-18 20:45:10 +02:00
bb642474b7 Fix initramfs SSH and Clevis compatibility issues
- Replace tinyssh with dropbear for better AlmaLinux compatibility
- Create custom dracut module for dropbear SSH access
- Fix clevis-luks-askpass.path for AlmaLinux 8.7+ (not needed)
- Fix dotfiles installation basename error
- Remove duplicate epel-release installation
- Update README to reflect dropbear on port 22

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-18 20:39:54 +02:00
6f3e1788e5 going back to dropbear 2025-08-18 20:21:45 +02:00
10ac0401af . 2025-08-18 01:37:18 +02:00
97c296da97 . 2025-08-18 01:35:27 +02:00
ab251d723f . 2025-08-18 01:22:32 +02:00
0a108c460d . 2025-08-18 01:18:55 +02:00
9bc2c4bb34 change 2025-08-18 01:14:33 +02:00
8aee8ab3de ffuuuuu 2025-08-18 01:14:04 +02:00
70bd757166 tinyssh gen host keys 2025-08-18 01:02:54 +02:00
059a926da6 clevis luks askpass ehm ok 2025-08-18 00:58:00 +02:00
0fe95ab969 tinyssh over dropbear 2025-08-18 00:51:10 +02:00
ca24354114 fix missing tar 2025-08-18 00:35:31 +02:00
bf051cba2a FiXeS 2025-08-18 00:30:35 +02:00
1323fdabe4 post install fixes 2025-08-18 00:24:36 +02:00
ac4740438b fixes (dropbear etc) 2025-08-18 00:10:29 +02:00
7beb5bf119 fix: missing tpm enabled config from posgt install 2025-08-17 23:20:56 +02:00
35571c4c44 who even cares about fedora 2025-07-26 21:47:37 +02:00