Quantcast
Channel: CentOS Bug Tracker - Issues
Viewing all articles
Browse latest Browse all 19115

0007869: sudo should not require tty when not needed

$
0
0
Consider command<br /> tar -cv some_files |ssh <a href="mailto:user@dw">user@dw</a>_dev 'sudo tar -C /tmp/ -xv'<br /> where ssh doesn't need password (ssh keys)<br /> and sudo does not need password also because of NOPASSWD: in /etc/sudoers.<br /> <br /> There is error<br /> sudo: sorry, you must have a tty to run sudo<br /> <br /> Command sudo should not ask for tty when it does not need password even requiretty is set.

Viewing all articles
Browse latest Browse all 19115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>