[SOLVED] Switching User of Gitea


#1

Hi,

What do I have to take care of if I switch the user of my current gitea installation?


#2

So for everyone who wants to try it as well.

useradd <USER>
usermod -aG <ALLTHEGROUPSYOUNEED> <USER>
chmod -R <USER>:<USER> <ONEVERYTHINGINYOURCONFIGANDTHECONFIGITSELF>
*If a service file for systemd is used*
Change the old user to the new one

And that should be it.


#3