Unable to delete inactive users #2367

Closed
opened 2025-11-02 04:33:55 -06:00 by GiteaMirror · 4 comments
Owner

Originally created by @cyrakuse on GitHub (Oct 1, 2018).

  • Gitea version (or commit ref): 1.5.1
  • Git version: 2.18.0
  • Operating system: windows 2008 R2
  • Database (use [x]):
    • PostgreSQL
    • [x ] MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • [x ] No
    • Not relevant
  • Log gist:

Description

I have configured LDAP authentication.
When i've seen that my filter was not good, i modified it to restrict more.
After i wanted to delete inactive users with the link in the dashboard and i obtain an error message :
"rename C:\Windows\system32\config\systemprofile.ssh\authorized_keys.tmp C:\Windows\system32\config\systemprofile.ssh\authorized_keys: Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus"
and the inactive users are not deleted.

Screenshots

Originally created by @cyrakuse on GitHub (Oct 1, 2018). <!-- 1. Please speak English, this is the language all of us can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/NsatcWJ) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): 1.5.1 - Git version: 2.18.0 - Operating system: windows 2008 R2 - Database (use `[x]`): - [ ] PostgreSQL - [x ] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [x ] No - [ ] Not relevant - Log gist: ## Description I have configured LDAP authentication. When i've seen that my filter was not good, i modified it to restrict more. After i wanted to delete inactive users with the link in the dashboard and i obtain an error message : "rename C:\Windows\system32\config\systemprofile\.ssh\authorized_keys.tmp C:\Windows\system32\config\systemprofile\.ssh\authorized_keys: Le processus ne peut pas accéder au fichier car ce fichier est utilisé par un autre processus" and the inactive users are not deleted. ## Screenshots <!-- **If this issue involves the Web Interface, please include a screenshot** -->
GiteaMirror added the type/question label 2025-11-02 04:33:55 -06:00
Author
Owner

@lafriks commented on GitHub (Oct 1, 2018):

Do you use OpenSSH server on windows?

@lafriks commented on GitHub (Oct 1, 2018): Do you use OpenSSH server on windows?
Author
Owner

@cyrakuse commented on GitHub (Oct 2, 2018):

I don't know.
I need to install OpenSSH on the server ?

@cyrakuse commented on GitHub (Oct 2, 2018): I don't know. I need to install OpenSSH on the server ?
Author
Owner

@lafriks commented on GitHub (Oct 2, 2018):

@cyrakuse if not than you need to set in app.ini to use builtin ssh server

@lafriks commented on GitHub (Oct 2, 2018): @cyrakuse if not than you need to set in app.ini to use builtin ssh server
Author
Owner

@cyrakuse commented on GitHub (Oct 2, 2018):

Ok thanks. it's ok now.

@cyrakuse commented on GitHub (Oct 2, 2018): Ok thanks. it's ok now.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#2367