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
- 771 Linux Foundation IT Professional Programs
- 381 Cloud Engineer IT Professional Program
- 175 Advanced Cloud Engineer IT Professional Program
- 75 DevOps IT Professional Program - Discontinued
- 7 DevOps & GitOps IT Professional Program
- 102 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- 7 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 16 Cloud & Containers Training
- 2 Cybersecurity Training
- 2 DevOps & Site-Reliability Training
- 1 Linux Kernel Development Training
- 2 Networking Training
- 2 Open Source Best Practice Training
- 4 System Administration Training
- 1 System Engineering Training
- 3 Web & Application Development Training
- 797 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 96 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 91 Storage
- 771 Linux Distributions
- 81 Debian
- 68 Fedora
- 23 Linux Mint
- 13 Mageia
- 24 openSUSE
- 151 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 466 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 98 Linux Security
- 79 Network Management
- 101 System Management
- 46 Web Management
- 135 Mobile Computing
- 20 Android
- 100 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 402 Off Topic
- 125 Introductions
- 33 Study Material
- 1K Programming and Development
- 310 Kernel Development
- 706 Software Development
- 1K Software
- 411 Applications
- 182 Command Line
- 5 Compiling/Installing
- 70 Games
- 318 Installation
- Archived
- 183 Small Talk
- 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)
