Skip to content

Commit 9ecd7b3

Browse files
authored
Use fish shell for root user
1 parent 88b0183 commit 9ecd7b3

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

‎build_files/build.sh‎

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ mkdir /home
1313
# Copy the contents of system_files/ of the git repo to /
1414
cp -avf "/ctx/system_files"/. /
1515

16-
# Fix permissions on SSH authorized keys files
17-
chmod 755 /etc/ssh/authorized_keys
18-
chmod 644 /etc/ssh/authorized_keys/root
19-
2016
### Install packages
2117

2218
$DNF_INSTALL $(cat /etc/dnf/protected.d/arcade-packages.conf)
@@ -30,12 +26,20 @@ $DNF_INSTALL $(cat /etc/dnf/protected.d/arcade-packages.conf)
3026

3127
### Enable SSH
3228

29+
# Fix permissions on SSH authorized keys files
30+
chmod 755 /etc/ssh/authorized_keys
31+
chmod 644 /etc/ssh/authorized_keys/root
32+
3333
systemctl enable sshd.service
3434

3535
### Enable greetd
3636

3737
systemctl enable greetd.service
3838

39+
### Configure the root user
40+
41+
chsh -s /usr/bin/fish
42+
3943
### Create the arcade user
4044

4145
useradd --home-dir /home/arcade --no-create-home --shell /usr/bin/fish arcade

0 commit comments

Comments
 (0)