attempt 0 at fixing live user

This commit is contained in:
Ward from fusion-voyager-3 2024-08-01 21:48:06 +03:00
parent 3660629383
commit a5342cb15a
2 changed files with 9 additions and 4 deletions

2
.github/release-iso vendored
View File

@ -1 +1 @@
2
3

View File

@ -1,4 +1,9 @@
#!/bin/sh
#!/bin/bash
adduser pikaos
passwd -f -u pikaos
adduser --quiet --disabled-password --shell /bin/bash --gecos "PikaOS Live User" "pikaos"
passwd -d "pikaos"
for group in adm cdrom sudo render dip video plugdev input render lpadmin sambashare
do
groupadd $group || true
usermod -a -G $group "pikaos"
done