Article 53XC5 [SOLVED] broken /etc/passwd? Cannot login. Possibly Active Directory related

[SOLVED] broken /etc/passwd? Cannot login. Possibly Active Directory related

by
gmhafiz
from LinuxQuestions.org on (#53XC5)
For some reason I can no longer login to one of my accounts (ORGhs)

Here is my /etc/passwd content:

Code:ORGhs:x:1002:44::/home/ORGhs:/bin/sh
hafiz:x:1000:1000:My Name Local:/home/hafiz:/bin/bashThe ORGhs account is set up for Active Directory. It used to be weirdly named ORG^hs (yes, with a caret). But to login, it is ORG\hs. This user's home locations is at /home/ORG/hs I have no idea how and why it is now changed to ORGhs and why it is using sh instead of bash.

When I try to login from `hafiz` account:
Code:su - ORG\hs
Password:It prompts for password, but my password fails.

I also tried
Code:su - ORGhs
Password:
su: Authentication failureI've tried to change the password from a root account
Code:sudo su
passwd ORG\hs
passwd: Authentication token manipulation error
passwd: password unchangedI'm guessing I cannot change Microsoft's Active Directory from the computer

I also cannot select ORG\hs from login screen.
Before, I had to wait for a while before ORG\hs appears as a selection. Now, it won't appear at all and I had to login with hafiz account

OS: Ubuntu 20.04latest?d=yIl2AUoC8zA latest?i=6PGbA5suNIs:0YghMxjtUv8:F7zBnMy latest?i=6PGbA5suNIs:0YghMxjtUv8:V_sGLiP latest?d=qj6IDK7rITs latest?i=6PGbA5suNIs:0YghMxjtUv8:gIN9vFw6PGbA5suNIs
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments