I recently spent quite a lot on a vps for my business and have begun setting up ssh and a cpanel account for each of my sites.
I started to install composer on an account but need root privileges. My question is if you are using sudo as a privileged user can you bring down the whole server if you make a bad mistake or do changes only effect that specific user account and not root?
Building on this is the account completely isolated from root or can you put the whole server at risk potentially (if you tried really hard)? Is sudo exactly the same as root access but only within the account, are you just switching to root? Is there any way to limit the damage I could cause to just the user account, is sudo the best way to install packages on my accounts?
~/bin/for example, and after adding it to your user's PATH you can use it like it was installed system-wide. – Maerlyn Aug 11 '17 at 10:22nvm(node version manager) – Maerlyn Aug 14 '17 at 10:34