mirror of
https://github.com/mynodebtc/mynode.git
synced 2025-01-11 19:30:11 +00:00
Add joinmarket user to bitcoin group
This commit is contained in:
parent
4d096cc398
commit
8e7e7499b4
|
@ -45,6 +45,7 @@ if ! skip_base_upgrades ; then
|
|||
|
||||
# User updates and settings
|
||||
adduser admin bitcoin
|
||||
adduser joinmarket bitcoin
|
||||
grep "joinmarket" /etc/sudoers || (echo 'joinmarket ALL=(ALL) NOPASSWD:ALL' | EDITOR='tee -a' visudo)
|
||||
passwd -l root
|
||||
|
||||
|
|
|
@ -253,6 +253,7 @@ useradd -m -s /bin/bash joinmarket || true
|
|||
|
||||
# User updates and settings
|
||||
adduser admin bitcoin
|
||||
adduser joinmarket bitcoin
|
||||
grep "joinmarket" /etc/sudoers || (echo 'joinmarket ALL=(ALL) NOPASSWD:ALL' | EDITOR='tee -a' visudo)
|
||||
|
||||
# Regen SSH keys (check if force regen or keys are missing / empty)
|
||||
|
|
|
@ -265,6 +265,7 @@ usermod -a -G debian-tor bitcoin
|
|||
|
||||
# Make admin a member of bitcoin
|
||||
adduser admin bitcoin
|
||||
adduser joinmarket bitcoin
|
||||
grep "joinmarket" /etc/sudoers || (echo 'joinmarket ALL=(ALL) NOPASSWD:ALL' | EDITOR='tee -a' visudo)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user