Shell user access to npm and node

Discussion in 'ISPConfig 3 Priority Support' started by Mo Hammann, May 14, 2024.

  1. Mo Hammann

    Mo Hammann New Member

    Hello experts,
    I have similar issue to this thread https://forum.howtoforge.com/threads/adding-a-second-sudo-user.91395/ but I did not want to hijack that post. My question is simple I have created a shell user for a specific site (No Jailkit) i did give the user created sudo access but it didnt work as it is showing web18 when i login so i gave the user web18 sudo access but still not able to use npm and node. if i try to sudo npm -v for example it ask for a password and the password created doesn't work. is there a way to work around it?
     
  2. nhybgtvfr

    nhybgtvfr Well-Known Member HowtoForge Supporter

  3. Mo Hammann

    Mo Hammann New Member

    actually i gave the example of sudo npm because when i run npm without sudo it says that it is not installed and to sudo install npm. so i was just trying all possibilities
     

Share This Page