mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-12 14:25:24 +01:00
LFS after
This commit is contained in:
parent
c7ca9bc0a3
commit
313fa28394
2 changed files with 14 additions and 1 deletions
|
|
@ -9,6 +9,19 @@
|
|||
. /steps/bootstrap.cfg
|
||||
. /steps/env
|
||||
|
||||
curl -o /usr/bin/wget https://raw.githubusercontent.com/somasis/wget-curl/master/wget
|
||||
chmod +x /usr/bin/wget /usr/bin/sudo
|
||||
|
||||
|
||||
useradd user
|
||||
mkdir -p /home/user
|
||||
chown user:user /home/user
|
||||
usermod -aG wheel user
|
||||
echo 'permit nopass :wheel' > /etc/doas.conf
|
||||
chown root:root /etc/doas.conf
|
||||
chmod 0400 /etc/doas.conf
|
||||
chmod u+s /usr/bin/doas
|
||||
|
||||
if [ "${INTERACTIVE}" = True ]; then
|
||||
env - PATH=${PREFIX}/bin PS1="\w # " bash -i
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue