action #166742
closed
Prevent security email for ariel
Added by ybonatakis 2 months ago.
Updated 2 months ago.
Category:
Regressions/Crashes
Description
Observation¶
Geekotest trying to run bash command as sudo spams email notifications
Reproduce¶
logging into ariel
sudo -u geekotest bash
and try to run sudo commands
Suggestions¶
- disabling mail_no_user
- mock sudo in geekotest bash
- look at sudoers lecture feature
Acceptance Criteria¶
- AC1: No security emails regarding geekotest executing sudo
Slack Discussion¶
https://suse.slack.com/archives/C02AJ1E568M/p1726138534369959
- Category set to Regressions/Crashes
- Status changed from New to Feedback
- Assignee set to okurz
In which case does geekotest try to run sudo? the steps to reproduce show something that only a human operator would do, probably not any existing automation. Can you clarify?
- Status changed from Feedback to Rejected
- Target version changed from Tools - Next to Ready
closing due to no response
just for the record as I just saw this. My understanding this is indeed occurred from human doing. And apparently we dont want to get emails in such cases.
ybonatakis wrote in #note-3:
just for the record as I just saw this. My understanding this is indeed occurred from human doing. And apparently we dont want to get emails in such cases.
I still want to get an email for something that is noteworthy and extraordinary. If it's recurring then we should handle it differently of course.
Also available in: Atom
PDF