0

Today I attempted to log in to my work laptop and got an invalid credentials message. I was still able to log into the local admin and change the password. However, after rebooting, I get the same message and have to change the password again.

To me this is just bizarre, so I'm not really sure where to start diagnosing the problem.

Other quirks:

  1. My own account was removed only from the sudo group (other groups were still present).
  2. The account in question is not visible from the GDM login GUI. I added a test account and it is visible and can be logged into without the password reset dance.

Version is 18.04

Output of /etc/passwd and /etc/group. Account in question is my.name

https://pastebin.com/U9m9v3nW

UPDATE: I re-added the account to the sudo group and that change seems to be persisting through reboot.

  • 1
    Hello and welcome to Ask Ubuntu! Can you share the output of /etc/passwd and /etc/group ? You can anonymize it if you like, I'm intrested in just the home and shell fields. – Mr Shunz Oct 4 '18 at 15:49
  • So you are authenticating via the network but changed your password with the local admin? It seem that with the next connection to the network the password is resyncronized with the central authentication server overruling your local changes. – Fiximan Oct 4 '18 at 16:17
  • I added a pastebin link – littlebenlittle Oct 4 '18 at 16:17
  • @Fiximan Yes I'm remembering now we use LDAP. I did connect to the LAN via VPN to see if it would fix anything, but that didn't work. – littlebenlittle Oct 4 '18 at 16:20
  • OK - were you able to log in while not being on the network before? – Fiximan Oct 4 '18 at 16:24
0

The ultimate answer was that my LDAP password expired.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.