Open BorisBrock opened 4 years ago
Probably, you could just use root user while in SSH
Login to your NAS using your credentials, then
sudo -i
should do the work.
But if You want to change to gitea user, for example to create dump using ./gitea dump function, you should:
sudo -i cd /etc vi group aministration -> add gitea to that group
cd /etc vi passwd /var/packages/Gitea/target --> /var/packages/Gitea/target/gitea /sbin/nologin target --> /bin/sh
after this, You should be able to change user to "gitea" by
su - gitea
No password required. Just used this to create a backup and it works.
I would like to access the files of my gitea installation. But to do so, the password for user "gitea" (created by this package) is required.
Where do I find this password?