0

How can I use NVM (Node Version Manager) as a sudoer?

What is the sudoer syntax for the /etc/sudoers file (debian wheezy) using NVM from /root/.nvm/ ?

username ALL=NOPASSWD:/etc/init.d/apache2 restart, ... nvm ?

The answers from the thread Can't use NVM from root (or sudo) did not work for me.

Community
  • 1
  • 1
jet miller
  • 275
  • 2
  • 17

1 Answers1

1

i first used the package from https://github.com/creatonix/nvm . after installing the older package https://github.com/xtuple/nvm it is possible to use nvm as sudoer.

jet miller
  • 275
  • 2
  • 17