Skip to content
This repository was archived by the owner on Dec 2, 2017. It is now read-only.

Spell out that running gitea with your own user is unsupported #62

Merged
merged 2 commits into from
Jan 10, 2017
Merged

Spell out that running gitea with your own user is unsupported #62

merged 2 commits into from
Jan 10, 2017

Conversation

sztanpet
Copy link
Contributor

@sztanpet sztanpet commented Jan 8, 2017

I just wanted to run gitea in the easiest way possible, so I ran it with my own user only to find
that I could no longer log in with SSH anymore.

@sztanpet
Copy link
Contributor Author

sztanpet commented Jan 8, 2017

For added discoverability for people having the same issue (but not knowing that it is because of Gitea), maybe the error message should be included also, namely Server refused to allocate pty (Putty gave me this error, not mentioning Gitea anywhere)?

@@ -38,6 +38,7 @@ The goal of this project is to make the easiest, fastest, and most painless way

- A cheap Raspberry Pi is powerful enough for basic functionality.
- 2 CPU cores and 1GB RAM would be the baseline for teamwork.
- Gitea is supposed to be run with a separate dedicated non-root user account on UNIX systems, no other mode of operation is supported. (**NOTE**: in case you run it with your own user account and the built-in SSH server disabled, Gitea modifies the `~/.ssh/authorized_keys` file, so you will **not** be able to interactively log in.)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

separate dedicated? I would prefer just dedicated, than I'm fine with this change.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh totally agreed, plus there is an unneeded comma too

@lunny lunny added this to the 1.1 milestone Jan 8, 2017
@bkcsoft
Copy link
Member

bkcsoft commented Jan 9, 2017

LGTM

@strk
Copy link
Member

strk commented Jan 9, 2017

It's a pity to not support running from own user, if we can document all the issues it's better, or is it only the ssh keys ? (that "regenerate keys" command could be made safer)

@appleboy
Copy link
Member

@sztanpet Can you also update the other language documents?

@sztanpet
Copy link
Contributor Author

No sorry, I do not know the other languages

@appleboy
Copy link
Member

@sztanpet OK.

@appleboy
Copy link
Member

LGTM

@lunny lunny merged commit 7eca37d into go-gitea:master Jan 10, 2017
@lunny
Copy link
Member

lunny commented Jan 10, 2017

Could you send another PR to back port to 1.0?

@sztanpet
Copy link
Contributor Author

there it is

@tboerger
Copy link
Member

There is an open issue to resolve this issue. Until than we will have this phrase which is warning the users.

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

Successfully merging this pull request may close these issues.

6 participants