Referring to a. and b. that I’ve marked in your comment:
a. what does “at log” mean?
b. what does “in the command line” mean?
.
.
Check this. Log in at a command line (as root user), then execute the command:
cat /etc/passwd
Each line in the passwd (text) file is a unique user entry - there will be many entries. Here’s a sample user entry (truncated). The username is first entry on each line, followed by a colon char:
tom:x:1000:1000: …
Look for your username. Is it lower-case? All upper-case? Mixed case? It matters, because usernames are case-sensitive in Unix | Linux.
tom:
TOM:
tOM:
ToM:
… each of those is a unique and different username. Each user, at login, must use proper capitalization. Traditionally, Unix | Linux recommends all lower-case.
Now jot down the username. Then execute:
cat /etc/shadow
Look for your username. After it, there is a colon char. The next entry is your encrypted password. Is the first character in password an exclamation mark (!) ??
If a password field starts with an exclamation mark (!) , it means that the password is locked. Sample locked:
Alright so after being able to login at tty as root, I was from there able to login as my username. A quick peek back at sign in still won’t let me in, same issue happening.
But back at the login in tty it also says “-- : /home/” change directory failed: No such file or directory Logging in with home=“/”."
As far as I know the openSUSE standard snapper configuration does not include the /home-area. So if anything changed in /home you might not be able to undo it by rolling back.
First of all do
cat /etc/passwd
The line which starts with the name of the not-working user should show the path of that users /home-directory as well. Beware that Linux is case-sensitive. So if you look for that /home-directory use the exact spelling.
If that directory exists make sure it is owned by the user and that the user has full access (rwx) to it.
Also of note. While I was able to get into yast and create a new user and login, after powering off and back on, that user is gone, and the old user password that I changed has reverted back to the original.
The user’s home directory doesn’t exist, so you’ll need to start over by creating a new primary user. Remove the existing user associated with UID 1000
userdel -r <username>
Add the user again
useradd -m <username>
then set a password for the user
passwd <username>
Follow the prompts given there. When you are next at the login screen, you should be able to login as that user.