A non-prompting sudo -S leaves the password on stdin; the privileged cat wrote it into the drop-in (seen on the first real run, NetOrk/netork#1027). Content is now staged without privilege (mktemp, 0600) and installed by root. Tests model a non-prompting sudo. 4.5.1. See also NetOrk/netork#1029.
A non-prompting sudo -S leaves the password on stdin; the privileged cat wrote it into the drop-in (seen on the first real run, NetOrk/netork#1027). Content is now staged without privilege (mktemp, 0600) and installed by root. Tests model a non-prompting sudo. 4.5.1. See also NetOrk/netork#1029.
A driver gains root with sudo -S and puts the password in front of stdin.
A sudo that does not prompt -- NOPASSWD, a cached timestamp -- leaves it
there, and the cat under sudo wrote it into the drop-in as its first line.
Seen on the first real run (NetOrk/netork#1027): sshd -t rejected the file
and the rollback removed it, but the password was in a 0644 file for a
moment and in the error the caller showed.
The content now goes without privilege to a mktemp file only the login user
can read; root installs that file (mode 644, root-owned) and removes it.
The fake host in the tests prepends the password to every privileged stdin,
as a non-prompting sudo does.
Bumps to 4.5.1. NetOrk/netork#1027, NetOrk/netork#1029
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
A non-prompting sudo -S leaves the password on stdin; the privileged cat wrote it into the drop-in (seen on the first real run, NetOrk/netork#1027). Content is now staged without privilege (mktemp, 0600) and installed by root. Tests model a non-prompting sudo. 4.5.1. See also NetOrk/netork#1029.