Updated Setting up a Hub (markdown)

Alex Grin 2022-11-07 09:52:11 -05:00
parent b543bb43d0
commit 76ef9afd4f

@ -5,15 +5,12 @@
## create lbry user ## create lbry user
``` ```
sudo adduser lbry sudo adduser lbry --disabled-password --gecos ""
sudo -H -u lbry bash -c 'mkdir -p /home/lbry/.ssh && echo "YOUR-SSH-KEY" >> /home/lbry/.ssh/authorized_keys'
sudo -H -u root bash -c 'echo "lbry ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers'
``` ```
## logout and log in as lbry user
## let lbry do sudo without password
https://www.atlantic.net/vps-hosting/how-to-setup-passwordless-sudo-for-a-specific-user/
## install docker ## install docker