try to fix sudo
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ apt-get update && apt-get upgrade
|
|||||||
chmod +x /bin/bubble
|
chmod +x /bin/bubble
|
||||||
apt-get install -y curl jq neovim htop fish tmux sudo git
|
apt-get install -y curl jq neovim htop fish tmux sudo git
|
||||||
useradd -m -s /usr/bin/fish user
|
useradd -m -s /usr/bin/fish user
|
||||||
echo "user ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
|
echo "user ALL=(ALL:ALL) NOPASSWD:ALL" >> /etc/sudoers
|
||||||
sudo -u user mkdir -p /home/user/.config/fish/
|
sudo -u user mkdir -p /home/user/.config/fish/
|
||||||
EOF
|
EOF
|
||||||
COPY ./init.fish /init.fish
|
COPY ./init.fish /init.fish
|
||||||
|
|||||||
@@ -10,6 +10,10 @@ function exit
|
|||||||
tmux detach
|
tmux detach
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function logout
|
||||||
|
exit
|
||||||
|
end
|
||||||
|
|
||||||
function install-docker
|
function install-docker
|
||||||
if test -e /bin/docker
|
if test -e /bin/docker
|
||||||
echo "Docker is already present at /bin/docker."
|
echo "Docker is already present at /bin/docker."
|
||||||
|
|||||||
Reference in New Issue
Block a user