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:

  1. --2018-11-28 19:34:33-- https://training.linuxfoundation.org/cm/LFD259/lfd259-example-file.1-12-1.tar
  2. Resolving training.linuxfoundation.org (training.linuxfoundation.org)... 151.101.1.5, 151.101.65.5, 151.101.129.5, ...
  3. Connecting to training.linuxfoundation.org (training.linuxfoundation.org)|151.101.1.5|:443... connected.
  4. HTTP request sent, awaiting response... 401 Restricted
  5. Authentication selected: Basic realm="Linux Training"
  6. Connecting to training.linuxfoundation.org (training.linuxfoundation.org)|151.101.1.5|:443... connected.
  7. HTTP request sent, awaiting response... 401 Restricted
  8.  
  9. 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

  • Posts: 2,296

    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!

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training