when i boot my computer it does no longer send me into Grub where i can select what too boot,
instead it sends me directly to manjaro boot, where am met with just a black screen. however i noticed ctrl alt f4 lets me use tty still where i can login as root, but i can not login as my main user account which is called “femscout”
i can press esc while booting too see the boot log and it stops when it reaches
it says that because whatever you try - that is the normal response once the account is locked due to a wrong password
it’s locked for 10 minutes by default - and it should tell you that when you try to login before that time has elapsed
now the question is:
why would this be? →
when, at that time, you did not even try to log in three times to get it locked
I don’t know the answer.
journalctl -r
lists the log in reverse, newest first - look for the phrase login
… something with pam configuration - but how and what? I don’t know.
googling for the messages you posted finds things … no idea what to make of it though
and no idea how this could have gotten messed up in the first place
But,
based on what is in the other huge long thread:
you should still fix your /etc/sudoers file - replace what you now have with the default one
→ like this (quoted from the other thread)
just two commands - and your current file will even be preserved:
first command moves / renames the current file to sudoers.backup
second command reinstalls sudo, putting the default /etc/sudoers file in it’s place
faillock can only display and modify authentication failure records.
That is you can see who is locked out, or remove accounts from being locked out, due to failing to enter the password correctly.
Does ‘has a low chance of working’ maybe relate to … only being able to remove the failure locks? Or do you mean that it sometimes fails to report or remove the failure locks?
Ambiguous message - I think you mean:
procedure didn’t solve your issue with the password being rejected for 10 minutes without even having tried it once.
I know for a fact that the described procedure does give you the original default /etc/sudoers file back.
How do I know?
I did that to my system and verified that it does what is described.
You’d likely be better off to save what valuable data is in your /home/femscout directory and reinstall.
Communication and proper feedback does seems too tedious to me.
Yesterday - and again just now - I did test how my system behaves when I enter a wrong password three times.
As expected, the account is locked for 10 minutes.
Trying to log in within these 10 minutes results in:
“The account is locked due to 3 failed logins”
and even the correct password results in:
“Login incorrect”
The faillock cannot be removed with faillock -r
because the /var/log/faillog is not ever being written to - the file doesn’t exist.
(it does exist on my Mint system though - so that doesn’t seem right)
A very elusive issue due to whatever wrong configuration of pam
… some file in /etc/pam.d/ - or even all of them - are possible candidates
in my opinion.
It takes only 5 minutes to do a clean installation, and then another 15 minutes to restore files - and assuming that you have a backup of home, you’ll likely have most of your configuration files available to help expediate the process.
I would also advise making use of software which can enhance your ability to use the keyboard and type accurately.
I remember spending a half hour every day for around one week, after which I was able to touch-type whilst looking at the screen (also able to correct errors without looking down at the keyboard).
Finally, when using the forum, it is wise to actually read some of the documentation involved when making posts:
Legibility Tip
When posting terminal output or code, copy the output and paste it here, wrapped in three (3) backticks, before AND after the pasted text. Like this:
```
pasted text
```
Or three (3) tilde signs, like this:
~~~
pasted text
~~~
Alternatively, select all pasted text, and click the <kbd></></kbd> button on the edit icons - which will indent the whole pasted section with one TAB, causing it to render the same way as described above.
Hi @Femscout ,
I wonder whether you have tried to install lightdm, which is the default xfce session manager.
I think you tried to change your password using the tty, after prressing Ctrl+F4.
Then, passwd femscout
In your post you wrote that this last command failed as root.
Could you try to remove sddm and install lightdm, in order to verify that the problem is not in the sudo package?
hello, what i meant is that the passwd femscout works as it should, and changes password but when entering the password it still says it’s the wrong password however running faillock seems to make so i can type the password and sometimes be able to login, so it changes the password correctly,
i did not have lightDM installed but i have installed it now,
by using “sudo pacman”
You can have both sddm and lightdm installed - but need to make sure that only one of them is active.
systemctl status sddm.service
and systemctl status lightdm.service
will tell you.
Only one can be enabled at any one time! @j8a is surely aware of this
What you can do is try to isolate the problem some more by disabling the display manager.
It will not try to start then and you only get a TTY to log into.
You can then start a desktop session with: startx
don’t do this as root!
I don’t know how to start a wayland session this way.
You can also start the display manager this way: systemctl start sddm.service
and look at the error messages when it fails to do so
i tried disable the sddm.service and keeping the lightDM.
however still gave me the issues with it not letting me login using my password, however i tried using faillock and reset and then i could login into the TTY4 and then the “startx” command
also i use x11 and can’t use wayland either way so not need to worry about that