Dearie > Sent: Tuesday, March 01, 2022 at 5:09 AM > From: "Dan Ritter" <d...@randomstring.org> > To: "Stella Ashburne" <rewe...@gmx.com> > Cc: debian-user@lists.debian.org > Subject: Re: Authentication failed after su- > > Stella Ashburne wrote: > > sudo su - -l -c "rest of the line" > > > > It didn't work > > Copy and paste the actual error; they contain real information > to help us figure out what is happening. >
To avoid confusion, I shall use the original example provided by Debian Wiki (https://wiki.debian.org/WiFi/HowToUse) which is: su -l -c "wpa_passphrase myssid my_very_secret_passphrase > /etc/wpa_supplicant/wpa_supplicant.conf" In a terminal, I typed: username@hostname:~$ su -l -c "wpa_passphrase JupiterRising 1234567890 > /etc/wpa_supplicant/wpa_supplicant.conf" Password: su: Authentication failure The output is Authentication failure Best regards. Stella