Re: When having multiple simultanious SSH connections, only the first two can `sudo`

"Todd C. Miller" <[email protected]>
Newsgroups gmane.comp.tools.sudo.user
Message-ID <[email protected]>
I'm not sure why sudo is not asking for a password for the other
two ptys.  Unless there is an entry in the timestamp file that has
not yet expired, you should be prompted for a password, even if the
password field in /etc/shadow is empty.

If you never want to have to authenticate with a password, why not
just disable authentication in sudo entirely?  A line like:

Defaults !authenticate

in /etc/sudoers will do the trick.

 - todd
____________________________________________________________
sudo-users mailing list <[email protected]>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.