fix: standardize username to 'football' in all hooks (FINDING-008)
The preseed.cfg creates user 'football' but hooks referenced 'kneluser'. This inconsistency would cause runtime failures during installation. Changes: - config/hooks/installed/encryption-validation.sh: s/kneluser/football/g - config/hooks/live/usb-automount.sh: s/kneluser/football/g - config/hooks/installed/install-scripts.sh: s/kneluser/football/g - tests/unit/encryption-validation_test.bats: Add 5 tests for username consistency Fixes: FINDING-008 (User account inconsistency) Reference: PRD.md user account requirements 💘 Generated with Crush Assisted-by: Claude via Crush <crush@charm.land>
This commit is contained in:
@@ -62,7 +62,7 @@ chmod +x /usr/local/bin/usb-automount.sh
|
||||
chmod +x /usr/local/bin/usb-unmount.sh
|
||||
|
||||
# Add user to plugdev group for USB access
|
||||
usermod -a -G plugdev kneluser 2>/dev/null || true
|
||||
usermod -a -G plugdev football 2>/dev/null || true
|
||||
|
||||
# Create PCManFM configuration for better file management
|
||||
mkdir -p /etc/skel/.config/pcmanfm
|
||||
|
||||
Reference in New Issue
Block a user