11 lines
319 B
Bash
Executable File
11 lines
319 B
Bash
Executable File
#!/bin/bash
|
|
|
|
groupadd -g 1001 "pikaos"
|
|
adduser --uid 1001 --gid 1001 --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
|