sudo-rs
does not set the terminal foreground process group
#360
Labels
Milestone
sudo-rs
does not set the terminal foreground process group
#360
Describe the bug
sudo-rs
does not set the command as the foreground process for the pty follower.To Reproduce
Steps to reproduce the behavior:
sudo-rs
and use any sudoers file that lets you execute commands as any user.yes
ps aux | grep yes
and notice that the monitor is the foreground process instead of the actual command (i.e. the monitor has a+
sign in theSTAT
column and the command does not).Expected behavior
The command should be the foreground process for the pty.
Environment (please complete the following information):
sudo-rs
commit hash:e13cab0
Additional context
This might be the reason why
^Z
is ignored bysudo-rs
at the moment. Still need to investigate. So it might be related to #245 and #325cc @squell
The text was updated successfully, but these errors were encountered: