Bläddra i källkod

Merge pull request #366 from poops/master

adds deploy user to sudoers
Alex Payne 10 år sedan
förälder
incheckning
ae1e6c64f0
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1
    0
      README.md

+ 1
- 0
README.md Visa fil

128
     nano /home/deploy/.ssh/authorized_keys
128
     nano /home/deploy/.ssh/authorized_keys
129
     chmod 400 /home/deploy/.ssh/authorized_keys
129
     chmod 400 /home/deploy/.ssh/authorized_keys
130
     chown deploy:deploy /home/deploy -R
130
     chown deploy:deploy /home/deploy -R
131
+    echo 'deploy ALL=(ALL) NOPASSWD: ALL' > /etc/sudoers.d/deploy
131
 
132
 
132
 Your new account will be automatically set up for passwordless `sudo`.
133
 Your new account will be automatically set up for passwordless `sudo`.
133
 
134
 

Laddar…
Avbryt
Spara