# Immediate problem - can't log in as new user: how to delete account?

**URL:** <https://gramps.discourse.group/t/immediate-problem-cant-log-in-as-new-user-how-to-delete-account/6419>\
**Category:** Gramps Web\
**Created:** [November 11, 2024, 4:11am UTC](https://gramps.discourse.group/t/immediate-problem-cant-log-in-as-new-user-how-to-delete-account/6419 "2024-11-11T04:11:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![amca01](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/amca01/32/5391_2.png) [@amca01](https://gramps.discourse.group/u/amca01)\
**Post date:** [November 11, 2024, 4:11am UTC](https://gramps.discourse.group/t/immediate-problem-cant-log-in-as-new-user-how-to-delete-account/6419/1 "2024-11-11T04:11:07Z")

</div>

**Short version:** Incorrectly configured a new account - how can I remove it?

**Long version:** I’m using the latest Gramps deployed with Docker and Docker Compose (see my question, and its answer, about using it with Caddy).

I created a new user, and tried to login, but I couldn’t: I got an error that the name or password was incorrect.

Since I want to keep using that email, I need to somehow destroy that first account, which I’m guessing I set up wrongly. I may have put in the wrong password at the start - it’d be nice if, when creating a password, you had to enter it twice. It’d also be nice if there were instructions about setting parameters for use with gmail; mine were incorrect, as an email to set a new password never appeared. Maybe I set the wrong SMTP port, or something else…

I entered the server container as root, but the file `/etc/passwd` doesn’t contain the user I thought I’d created. Or if it’s in a database - where is the database?

So - how do I delete a user which I’d incorrectly created? At the moment I have no access to the application: I’m just at the creating a starting user place, so all I can do really is to enter the container and work in there.

(Or, I suppose, remove the containers and images and recreate them from scratch, which seems a bit of an overkill.)

Many thanks,  
Alasdair

---

<div class="post-metadata">

**Author:** ![DavidMStraub](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davidmstraub/32/7_2.png) [@DavidMStraub](https://gramps.discourse.group/u/DavidMStraub)\
**Post date:** [November 11, 2024, 7:05am UTC](https://gramps.discourse.group/t/immediate-problem-cant-log-in-as-new-user-how-to-delete-account/6419/2 "2024-11-11T07:05:55Z")

</div>

You can use the command&nbsp;line, see at the bottom of [User system - Gramps Web](https://www.grampsweb.org/install_setup/users/). (Note: discourse automatically links “[command line](https://gramps-project.org/wiki/index.php/Gramps_5.2_Wiki_Manual_-_Command_Line)” to the [Gramps wiki](https://www.gramps-project.org/wiki/index.php/Gramps_5.2_Wiki_Manual#Table_of_Contents), which is the wrong link!)

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [November 11, 2024, 8:36am UTC](https://gramps.discourse.group/t/immediate-problem-cant-log-in-as-new-user-how-to-delete-account/6419/3 "2024-11-11T08:36:00Z")

</div>

> [@DavidMStraub](#):
>
> (Note: discourse automatically links “[command line](https://gramps-project.org/wiki/index.php/Gramps_5.2_Wiki_Manual_-_Command_Line)” to the [Gramps wiki](https://www.gramps-project.org/wiki/index.php/Gramps_5.2_Wiki_Manual#Table_of_Contents), which is the wrong link!)

The **command&nbsp;line** phrase for [our Discourse linkify phrases](https://gramps.discourse.group/t/automated-hotlinks-in-discourse/2210) might be too easy to auto link.

Added a disambiguation link to the Gramps&nbsp;wiki [`https://gramps-project.org/wiki/index.php/Gramps_5.2_Wiki_Manual_-_Command_Line`](https://gramps-project.org/wiki/index.php/Gramps_5.2_Wiki_Manual_-_Command_Line) page.

If you provide an html anchor and page URL on the Gramps Web site, will update it to be more precise.

e.g., `<span id="command_line">command line</span>`

---

<div class="post-metadata">

**Author:** ![amca01](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/amca01/32/5391_2.png) [@amca01](https://gramps.discourse.group/u/amca01)\
**Post date:** [November 18, 2024, 2:48am UTC](https://gramps.discourse.group/t/immediate-problem-cant-log-in-as-new-user-how-to-delete-account/6419/4 "2024-11-18T02:48:28Z")

</div>

Many thanks … however, I’ve set up Grampsweb using docker and docker compose on a remote server, and I’m not sure where I should find the [command line](https://gramps-project.org/wiki/index.php/Gramps_5.2_Wiki_Manual_-_Command_Line) - do I need to enter the docker container with `docker exec`, or is there another way?

Anyway, I’ll see what I can do with your reply… I’m new to this. (So new, that I’ve not set up notifications properly, which is why I’m a week late answering).

Actually, I’ve just seen the docker exec line on the documentation, which I hadn’t seen before. So I’ll do that and see where it gets me.

Thank you again,  
Alasdair

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/gramps/original/1X/2ac1e712b7adf612e31ca08a55419f4cf37c0158.png) [@system](https://gramps.discourse.group/u/system)\
**Post date:** [December 18, 2024, 2:49am UTC](https://gramps.discourse.group/t/immediate-problem-cant-log-in-as-new-user-how-to-delete-account/6419/5 "2024-12-18T02:49:28Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
