Root user password

I’m working on bash, I’m not able to add user in the system. And also don’t know the password of root user.
Can anyone please help me

You can’t have acces to root on Replit.

4 Likes

You don’t need root to install packages, edit the replit.nix file. https://search.nixos.org/ lets you search for packages.

4 Likes

Replit doesn’t let you have root for obvious reasons, as that’s a huge security risk. You can however configure a huge amount of stuff using the replit.nix file.
If you can’t do it through nix, then you will have to host your project somewhere else where you have full control of the server.

1 Like

You can often compile a program from source with an install prefix inside your repl

1 Like