Thanks
ignore the permission errorsWhy do you need another root user for web development? Just curious![]()
root user ennawa
ona command su dala type karanna
ex: su ls
if you want to login as root then
sudo su
password ekak ahuwoth current user password eka
elaroot user ennawa
ona command su dala type karanna
ex: su ls
if you want to login as root then
sudo su
password ekak ahuwoth current user password eka
the best practice is to create separate users for the servers you use. For example for postgresql you create a prostgresql user. And for the folders you can set permission separately. In the way you are going to do it, the permissions are kinda uselessignore the permission errors

su -i
thanksMost distributions include a root user by default. For example in Ubuntu you could switch to root user by,
Code:su -i
It's hard to provide any specific answer without knowing the exact distribution or the requirement.
So for instance, if your web content is hosted at /var/www, you could just chown it to the current user. Then you could work on that directory as you'd normally work in a project that is in the /home