Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the password for user gitea? #29

Open
BorisBrock opened this issue Feb 1, 2020 · 1 comment
Open

What is the password for user gitea? #29

BorisBrock opened this issue Feb 1, 2020 · 1 comment

Comments

@BorisBrock
Copy link

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?

@wkobiela
Copy link

wkobiela commented May 20, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants