Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

shez1983's avatar

sudo isnt working for forge?

I am not sure what the problem is but forge user that forge creates is supposed to be a super user right? but i cannot use it to cat my logs ie su cat /var/log/nginx... etc

and to get password for root user, i have to do a reset password in digital ocean which means turning off my app.. which i dont wnat to do

0 likes
2 replies
Cronix's avatar

did you actually try sudo? Your example shows using su which isn't exactly the same thing.

shez1983's avatar

i did.. i tried to even login as forge

when i do su and type password for forge, it doesnt work so i have to do su forge which works but i still cannot view logs

if i do su cd /var/log/nginx that doenst work or if i do cd .. after su using forge that still doesnt work

Please or to participate in this conversation.