You are not logged in.
Background
To set up my network printers, I installed CUPS and AVAHI following the instructions on https://wiki.archlinux.org/title/CUPS. Following editing the nsswitch.conf file, my wifi stopped working and then trying to restart the network service, I got the message that I was no longer in the sudoers file and unable to sudo. I restarted my laptop but now systemd fails to start Network, D-Bus, or User Login Services, so I am unable to boot.
Code
sudo pacman -S cups
sudo systemctl enable cups.service --now
sudo pacman -S nss-mdms
sudo systemctl enable avahi-daemon.service --now
sudo nano /etc/nsswitch.confLast edited by arupy (2021-07-26 13:41:10)
Offline
What are the contents of /etc/nsswitch.conf?
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Thank you. I found it; was a typo.
# Name Service Switch configuration file.
# See nsswitch.conf(5) for details.
passwd: files systemd
group: files [SUCCESS=merge] systemd
shadow: files
publickey: files
hosts: files mymachines myhostname mdns_minimal [NOTFOUND=return} resolve [!UNAVAIL=return] dns
networks: files
protocols: files
services: files
ethers: files
rpc: files
netgroup: files
nsswitch.conf (END)Offline
That happens sometimes. One key off and the square bracket becomes curly.
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline