Hello,
My system is Fedora Workstation 37 GNOME.
The user accounts on my system just disappeared after I logged out of the session. The chain of events is as follows:
My laptop was asleep with a few apps opened. I woke it up and hit “logout” without exiting the apps. Instead of the login screen, I was presented with the default initial screen prompting me to create a user profile so that the system can initiate. I performed a cold reboot and was presented with the same first-boot-after-installation screen. I was forced to create a user account. After I logged in to the default F37 desktop I discovered that the home directories of my two previously created accounts are still there and all the files in them are present and accessible.
My old accounts are no longer displayed in the settings panel nor the login screen. I tried to log into my old accounts using the option for users that are not listed - no success there. The host name of my machine is still the same. The apps that I manually installed are still there. But I can not log into my old accounts.
The output of ls -l /home/
is:
общо 0
drwx------. 1 computer computer 424 29 яну 17:25 computer
drwx------. 1 1001 Didi 382 9 дек 21:56 Didi
drwx------. 1 computer lyubo 628 25 яну 12:43 lyubo
(The first line says “all” or “total” or something similar.) Didi
(regular account) and lyubo
(admin) are my old accounts and computer
is the one I was forced to create.
The contents of /etc/passwd
is:
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
operator:x:11:0:operator:/root:/sbin/nologin
games:x:12:100:games:/usr/games:/sbin/nologin
ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
nobody:x:65534:65534:Kernel Overflow User:/:/sbin/nologin
apache:x:48:48:Apache:/usr/share/httpd:/sbin/nologin
systemd-network:x:192:192:systemd Network Management:/:/sbin/nologin
systemd-coredump:x:999:997:systemd Core Dumper:/:/sbin/nologin
systemd-resolve:x:193:193:systemd Resolver:/:/sbin/nologin
systemd-oom:x:998:996:systemd Userspace OOM Killer:/:/sbin/nologin
systemd-timesync:x:997:995:systemd Time Synchronization:/:/sbin/nologin
tss:x:59:59:Account used for TPM access:/dev/null:/sbin/nologin
dbus:x:81:81:System message bus:/:/sbin/nologin
polkitd:x:996:994:User for polkitd:/:/sbin/nologin
avahi:x:70:70:Avahi mDNS/DNS-SD Stack:/var/run/avahi-daemon:/sbin/nologin
unbound:x:995:992:Unbound DNS resolver:/etc/unbound:/sbin/nologin
dnsmasq:x:994:991:Dnsmasq DHCP and DNS server:/var/lib/dnsmasq:/sbin/nologin
nm-openconnect:x:993:989:NetworkManager user for OpenConnect:/:/sbin/nologin
usbmuxd:x:113:113:usbmuxd user:/:/sbin/nologin
gluster:x:992:988:GlusterFS daemons:/run/gluster:/sbin/nologin
rtkit:x:172:172:RealtimeKit:/proc:/sbin/nologin
pipewire:x:991:987:PipeWire System Daemon:/var/run/pipewire:/sbin/nologin
geoclue:x:990:986:User for geoclue:/var/lib/geoclue:/sbin/nologin
chrony:x:989:984::/var/lib/chrony:/sbin/nologin
saslauth:x:988:76:Saslauthd user:/run/saslauthd:/sbin/nologin
radvd:x:75:75:radvd user:/:/sbin/nologin
rpc:x:32:32:Rpcbind Daemon:/var/lib/rpcbind:/sbin/nologin
qemu:x:107:107:qemu user:/:/sbin/nologin
openvpn:x:987:982:OpenVPN:/etc/openvpn:/sbin/nologin
nm-openvpn:x:986:981:Default user for running openvpn spawned by NetworkManager:/:/sbin/nologin
colord:x:985:980:User for colord:/var/lib/colord:/sbin/nologin
rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin
abrt:x:173:173::/etc/abrt:/sbin/nologin
flatpak:x:984:979:User for flatpak system helper:/:/sbin/nologin
gdm:x:42:42::/var/lib/gdm:/sbin/nologin
gnome-initial-setup:x:983:978::/run/gnome-initial-setup/:/sbin/nologin
vboxadd:x:982:1::/var/run/vboxadd:/sbin/nologin
sshd:x:74:74:Privilege-separated SSH:/usr/share/empty.sshd:/sbin/nologin
tcpdump:x:72:72:er:/:/sbin/nologilyubo:x:1000:1000:Любомир Богоев:/home/lyubo:/bin/bash
akmods:x:981:974:User is used by akmods to build akmod packages:/var/cache/akmodsr:/:/sbin/nologipulse:x:171:171:PulseAudio System Daemon:/var/run/pulse:/sbin/nologin
firebird:x:980:971:er:/:/sbin/nologiDidi:x:1001:1001:Диана Ангелова:/home/Didi:/bin/bash
computer:x:1000:1002:Computer:/home/computer:/bin/bash
I suppose some machine error occurred that wiped my accounts from a list or something. I need help reinstating my old accounts so that I can log into them and use them again.
Thank you in advance!