root@localhost

root@localhost

by Sandeep Prasad -
Number of replies: 1

I am running Moodle 3.6 using RHEL 8.1 using MariaDB Apache PHP.

There is 'Guest user' created with mail id root@localhost with user id '1'. Although I am the admin but my user id is '2'.

I have not created this user. When I see logs of this Guest user, the user has changed password for certain users who have failed login attempts.... 

 What is this issue ??Is it a bug ?? How do I remove the root@localhost

P.S. This is my first post. I do not know how frequent the replies are posted.

Average of ratings: -
In reply to Sandeep Prasad

Re: root@localhost

by Randy Thornton -
Picture of Documentation writers
This is normal: the Guest role is a standard feature of Moodle which is created during installation. Do not delete it. Please read the documentation on how it works and how to use it: https://docs.moodle.org/311/en/Guest_role

Logs can track users who arrive at your front page. Since they have not logged in yet, they are still a guest user. What you are seeing in the logs is the actions of users who have forgotten their passwords, failed to login, and are resetting them. Once logged in, of course, their actions will be tracked in the logs with their actual user ids and not that of the guest user.