squid用户登录验证密码正确却无法登录的解决办法

博主在配置squid代理服务器的时候,遇到一个问题,就是加上了用户验证的配置后,输入正确的密码死活登录不上,倒腾半天后终于发现症结所在,在此分享出来,希望各位不要再进这个坑,下面上菜:

博主是用htpasswd添加的用户,相信会看这个博客的应该会知道这是什么,如果这都不知道的话,请不用往下看了

htpasswd添加用户的命令是:

/路径/htpassed -cd 用户名 密码

参数说明:

-c 创建passwdfile.如果passwdfile 已经存在,那么它会重新写入并删去原有内容.
-n 不更新passwordfile,直接显示密码
-m 使用MD5加密(默认)
-d 使用CRYPT加密(默认)
-p 使用普通文本格式的密码
-s 使用SHA加密
-b 命令行中一并输入用户名和密码,即明文密码
-D 删除指定的用户

关键点来了,因为是linux系统,所以一定要指定-d,使用crypt加密,否则就算密码输入正确也无法识别,到此,问题解决。

郑重承诺,博主所写内容皆为博主原创,请尊重博主的版权和成果,转载请注明出处

1,075 thoughts on “squid用户登录验证密码正确却无法登录的解决办法

  1. If your partner complains that you snore during your sleep, or if you wake up in the morning feeling tired and grouchy, you may have a common sleep disorder called sleep apnea. This means that at night, your airway is blocked and you stop breathing during your sleep. If you have this condition, you need to find treatment right away to avoid further problems.

    Try using a mouth guard that’s custom-fitted for you. These are made especially for those suffering from sleep apnea. If you don’t have CPAP, then this guard is an excellent alternative. Also, it’s a lot more comfortable wearing this mouth guard while sleeping. It really helps keep the airways clear and keeps the soft tissues of the throat stable.

    Try your best to lay off tobacco and nicotine products. Cigarette smoke can irritate your upper airway causing it to swell up, subsequently hindering your ability to breath during the night. Quitting smoking could therefore, significantly improve your sleep apnea symptoms and will also improve your body’s overall health and your feelings of well-being.

    If you have tried a number of less drastic sleep apnea treatment options, you might want to consider discussing surgical treatment options for the condition with your primary care physician. Sleep apnea treatment surgery often involves increasing the diameter of your airway in an effort to reduce the number of apnea episodes that you experience.

    Understand the effects that smoking and drinking alcohol have on sleep apnea, if you are trying to get a grip on your quality of sleep. Smoking enlarges airways, while alcohol can relax them too much, both of which will contribute to the symptoms of sleep apnea severely. Consider making the necessary cut-backs that will cut down on your sleep problems.

    Try your best to maintain a regular sleeping schedule. When your body gets into a customary sleeping cycle, you will find yourself getting a better night’s sleep, and you will also be more relaxed. Several studies have shown that apnea episodes decrease when a person is not sleep deprived or stressed out.

    Consider an alternative sleep apnea flower remedy therapy (also known as essence therapy). Vervain is used in this treatment for its calming and relaxing effects. This can help treat your symptoms, including insomnia problems associated with your apnea. As an added bonus, it also helps reduce overall stress and lower high blood pressure.

    Avoid any type of drugs or alcohol if you are experiencing any type of sleep apnea. Drugs and alcohol will slow down your respiratory system, and that is known to be one of the causes of sleep apnea. If you are struggling with this issue, try to get some professional help to overcome these addictions.

    Minimize your risk from the conditions causing sleep apnea. Some sleep apnea risk factors cannot be changed, like genetic or hereditary reasons. But others, such as weight smoking and drinking, can be controlled.

    Life after your CPAP diagnosis may seem overwhelming at first. However, there is a lot of help to be found if you look for it. This article has shared just a few easy ideas for dealing with your sleep condition. Start applying these today, and you will feel more in control of your life in no time.

    viagrasansordonnancefr.com

  2. It’s appropriate time to make some plans for the future
    and it’s time to be happy. I’ve read this post and if I could I want to
    suggest you few interesting things or tips. Perhaps you can write next articles referring to this article.
    I desire to read more things about it!

  3. I really appreciate this post. I’ve been looking all over for this! Thank goodness I found it on Bing. You’ve made my day! Thanks again! dedggkekdeab

  4. omg! cant picture how quick time pass, after August, ber months time already and Setempber may be the 1st Christmas season in my location, I genuinely really like it! eddddkeecffb

  5. Good blog! I really love how it is easy on my eyes and the data are well written. I am wondering how I could be notified whenever a new post has been made. I have subscribed to your feed which must do the trick! Have a nice day! aafeggdedcfeegeb

  6. you are in point of fact a just right webmaster. The site loading velocity is amazing. It sort of feels that you are doing any distinctive trick. Furthermore, The contents are masterpiece. you’ve performed a magnificent process in this subject! gaecdeecakcf

  7. Hey there just wanted to give you a quick heads up and let you know a few of the images aren’t loading properly.
    I’m not sure why but I think its a linking issue.

    I’ve tried it in two different internet browsers and
    both show the same outcome.

  8. A person essentially help to make seriously posts I would state. This is the first time I frequented your web page and thus far? I surprised with the research you made to create this particular publish extraordinary. Fantastic job! gkdbcddgeggg

  9. Hi, Neat post. There is a problem with your web site in internet explorer, would check this IE still is the market leader and a large portion of people will miss your magnificent writing because of this problem. ddfdckdcddkbkdbg

  10. on the other hand, you could find inexpensive features allow me to explain allow a topline model and you desire to create quilts just for your special Hermes Evelyne travelling bag include. daedaedecegf

  11. Great blog! Is your theme custom made or did you download it from somewhere? A design like yours with a few simple adjustements would really make my blog shine. Please let me know where you got your design. Cheers

  12. Merely a smiling visitor here to share the love , btw outstanding style. Audacity, a lot more audacity and always audacity. by Georges Jacques Danton. gecbbkgabbed

  13. We can not honestly say that we weren’t shocked and impressed by the sheer ingenuity of the Twerking Butt.|The employees at Scripps Ranch High College discussed a twerking incident involving students in a letter addressed to a school trustee.|

  14. Undeniably believe that which you stated. Your favorite reason appeared to be on the web the easiest thing to be aware of. I say to you, I certainly get annoyed while people think about worries that they just don’t know about. You managed to hit the nail upon the top and also defined out the whole thing without having side-effects , people could take a signal. Will likely be back to get more. Thanks

  15. Wow, amazing blog layout! How long have you ever been blogging for? you made blogging look easy. The full look of your website is magnificent, as well as the content material!

  16. Wow, marvelous blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your website is great, as well as the content! cgkcckddeeke