Change userID now can't logon to system
Hi everyone,
I'm new to this board and so I'd just like to say HI. I had to change a userID on my redhat linux system and now for some reason I can no longer logon to my system. To change the userID, I had to go into the /etc/passwd file. After that I did that the ownership on my files changed. So I changed them to what they're supposed to be including all of hidden files. What do I do now? Any advice would be appreciated. Thanks. |
Hi, and welcome to LQ!
Just make the same change in /etc/shadow Cheers, Tink |
In /etc/shadow the numbers aren't the same.
:12993:0:99999:7::: as my /etc/passwd :x:12570: THanks again. |
OOops ... I wasn't reading properly. I thought you meant
the users ID not the UID. If the uid was modified and owner ships of chown -R <newUID> /home/name was done there's no reason that it shouldn't let you log-in unless there's now a syntax error in the line that holds your user. Care to paste it here, with both its neighbours? Cheers, Tink |
I would love to paste it but unfortunately I'm not sure exactly what you're talking about.
|
Ok ... well, just check whether the number of
: in the line with your user is the same as for all others, and that the last entry is the users shell. Cheers, Tink |
All times are GMT -5. The time now is 04:18 PM. |