When I am trying to fetch the tar file from the lftrainning URL getting 401 unauthorized exception
Hello All,
When I am trying to pass the username and password and then trying to fetch the tar file getting 401 unauthorised exception.
- I tried to execute through this command
wget --user=user--password=password "https://cm.lf.training/LFS258/LFS258 V2024-03-14 SOLUTIONS.tar.xz"
- I tried even as below as well. As the URL is having spaces added %20 and tried so no luck.
Please help or let me know how I can resolve this.
Regards,
Balaji
Comments
-
Please double check to ensure your pasted command matches the one in the pdf. Per the note under the wget command, you may have to manually add back underscores if they were removed during copy paste.
You can also retrieve the resources following instructions located in the introductory chapter.
Regards,
Flavia
Linux Foundation Training Team0 -
Hi @mandavabalaji9,
Perhaps the note that follows the command may be of some help. It makes you aware of the possible issue, and it suggests the workaround as well. Adding it below in case your lab guide is missing the note:
Note: depending on your PDF viewer, if you are cutting and pasting the above instructions, the underscores may disappear and be replaced by spaces, so you may have to edit the command line by hand!
Regards,
-Chris0 -
@chrispokorni , @fcioanca - Thanks a lot to both of you. Yes that has resolved my issue and one more small correction. if we declare the command as per below then only it is working hope you can correct in the pdf as well.
wget --user=xxxx --password=xxxxx "https://cm.lf.training/LFS258/LFS258_V2024-03-14_SOLUTIONS.tar.xz"when the same command is executed as mentioned in pdf that is not working where the username and password is passed after the URL.
0 -
Hi @mandavabalaji9,
For the majority of learners, the provided syntax works to retrieve the class resources. However, in very few select cases, depending on the local workstation OS and the terminal application settings, the syntax may have to be reversed for the command to work. Please keep this in mind as you make progress through the lab exercises - there will be many cases where commands use flags and options and the syntax may need to be adjusted to work with your environment.
Regards,
-Chris0
Categories
- All Categories
- 177 LFX Mentorship
- 177 LFX Mentorship: Linux Kernel
- 750 Linux Foundation IT Professional Programs
- 373 Cloud Engineer IT Professional Program
- 169 Advanced Cloud Engineer IT Professional Program
- 74 DevOps IT Professional Program - Discontinued
- 4 DevOps & GitOps IT Professional Program
- 99 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- 1 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 4 Cloud & Containers Training
- 1 Cybersecurity Training
- 2 DevOps & Site-Reliability Training
- 1 Linux Kernel Development Training
- 1 Networking Training
- 2 Open Source Best Practice Training
- 1 System Administration Training
- 1 System Engineering Training
- 1 Web & Application Development Training
- 792 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 95 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 87 Storage
- 769 Linux Distributions
- 81 Debian
- 68 Fedora
- 22 Linux Mint
- 13 Mageia
- 24 openSUSE
- 150 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 465 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 98 Linux Security
- 78 Network Management
- 101 System Management
- 46 Web Management
- 106 Mobile Computing
- 18 Android
- 73 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 392 Off Topic
- 121 Introductions
- 181 Small Talk
- 29 Study Material
- 955 Programming and Development
- 310 Kernel Development
- 627 Software Development
- 983 Software
- 375 Applications
- 182 Command Line
- 5 Compiling/Installing
- 68 Games
- 317 Installation
- Archived
- 2 LFD140 Class Forum
- 1.4K LFS258 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)
