Welcome to the Linux Foundation Forum!

401 error doing Lab 2.1

When trying to download the master and second scripts using wget, I get 401 errors.

Input is wget https://training.linuxfoundation.org/cm/LFD259/lfd259-example-file.1-12-1.tar --user=<username> --password=<password>

Output is:

--2018-11-28 19:34:33--  https://training.linuxfoundation.org/cm/LFD259/lfd259-example-file.1-12-1.tar
Resolving training.linuxfoundation.org (training.linuxfoundation.org)... 151.101.1.5, 151.101.65.5, 151.101.129.5, ...
Connecting to training.linuxfoundation.org (training.linuxfoundation.org)|151.101.1.5|:443... connected.
HTTP request sent, awaiting response... 401 Restricted
Authentication selected: Basic realm="Linux Training"
Connecting to training.linuxfoundation.org (training.linuxfoundation.org)|151.101.1.5|:443... connected.
HTTP request sent, awaiting response... 401 Restricted

Username/Password Authentication Failed.

My password has a symbol in it that is not a special shell character. Regardless, I've tried putting the password in single quotes. I'm totally blocked on continuing right now. Any ideas? Thanks!

Comments

  • fcioanca
    fcioanca Posts: 1,886

    Please use the wget command exactly how it is provided in lab 2.1, including the username and password provided in lab 2.1, as this is what you use to download the course resources from an LF password-protected directory. In this instance, you are not using your own username and password.

  • Ahhhh ok thank you!

Categories

Upcoming Training