See upstream issue https://github.com/gwsw/less/issues/368 This is fixed in less 635. http://www.greenwoodsoftware.com/less/news.635.html Reproducible: Always Steps to Reproduce: 1.sudo -k 2.sudo ls | less Actual Results: Password prompt is shown, but correctly-entered password is not accepted. Expected Results: Password is accepted.