Skip to content
← Back to Community
Running sudo commands in my repl's shell?
Profile icon
SpotSign

How can I run sudo commands in my repl's shell? When I ran the sudo command it says the command is not found. The su command works, but what's the password for it?

Answered by tussiez [earned 5 cycles]
View Answer
Voters
Profile icon
SpotSign
Comments
hotnewtop
Profile icon
tussiez

The repl.it shell is a very locked-down version of Linux, meant for only doing basic tasks like cp and mv. It would be a massive security flaw if you could enter sudo, so it's disabled.

Profile icon
Buhron

pkgs.sudo

Profile icon
Buhron

Is not working

Profile icon
RYANTADIPARTHI

running sudo on repl.it isn't possible.

Profile icon
Lost0Soul

Repl.it has blocked access to sudo within the console or the shell. The shell on linux is not meant to be used as a linux shell but to to access the basic commands and not features of linux.

Profile icon
EpicGamer007

i dont think you can run sudo on replit.