Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #245735

Re: Authentication failed after su-

From "Andrew M.A. Cater" <amacater@einval.com>
Newsgroups linux.debian.user
Subject Re: Authentication failed after su-
Date 2022-02-28 20:20 +0100
Message-ID <DVTIS-4YP3-7@gated-at.bofh.it> (permalink)
References <DVTpv-4Yt1-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Feb 28, 2022 at 07:54:39PM +0100, Stella Ashburne wrote:
> According to https://wiki.debian.org/WiFi/HowToUse,
> 
> "Use the WPA passphrase to calculate the correct WPA PSK hash for your SSID by altering the following example"
> 
> the command to type is
> 
> su -l -c "wpa_passphrase myssid my_very_secret_passphrase > /etc/wpa_supplicant/wpa_supplicant.conf"
> 
> The output of the terminal is: Authentication failed
> 
> Any solution(s) please?
> 
> Best regards.
> 
> Stella
>

If you use sudo: prefix the above command with sudo

It may be that you need

su - -l -c "rest of the line"

su alone doesn't always get you root equivalent: the default changed a while
ago now so su - is needed.

All the very best, as ever,

Andy Cater 

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Authentication failed after su- Stella Ashburne <rewefie@gmx.com> - 2022-02-28 20:00 +0100
  Re: Authentication failed after su- "Andrew M.A. Cater" <amacater@einval.com> - 2022-02-28 20:20 +0100
    Re: Authentication failed after su- Stella Ashburne <rewefie@gmx.com> - 2022-02-28 21:20 +0100
      Re: Authentication failed after su- Dan Ritter <dsr@randomstring.org> - 2022-02-28 22:30 +0100
        Re: Authentication failed after su- Stella Ashburne <rewefie@gmx.com> - 2022-02-28 23:50 +0100
          Re: Authentication failed after su- Dan Ritter <dsr@randomstring.org> - 2022-03-01 00:40 +0100
            Re: Authentication failed after su- Stella Ashburne <rewefie@gmx.com> - 2022-03-01 06:20 +0100
              Re: Authentication failed after su- Sven Hartge <sven@svenhartge.de> - 2022-03-01 10:30 +0100
                Re: Authentication failed after su- Stella Ashburne <rewefie@gmx.com> - 2022-03-01 12:10 +0100
                Re: Authentication failed after su- David Wright <deblis@lionunicorn.co.uk> - 2022-03-01 17:20 +0100
                Re: Authentication failed after su- Stella Ashburne <rewefie@gmx.com> - 2022-03-02 08:50 +0100
                Re: Authentication failed after su- Charles Curley <charlescurley@charlescurley.com> - 2022-03-01 17:20 +0100
        Re: Authentication failed after su- Stella Ashburne <rewefie@gmx.com> - 2022-03-01 07:10 +0100

csiph-web