Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 269384 - sys-apps/logwatch doesn't show real user when using su/sudo
Summary: sys-apps/logwatch doesn't show real user when using su/sudo
Status: RESOLVED DUPLICATE of bug 244613
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-11 09:42 UTC by Asgard Anquietas
Modified: 2009-12-04 11:15 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Asgard Anquietas 2009-05-11 09:42:54 UTC
When Logwatch compiles the mail with information from the log files, it does not interpret correctly the SU and SUDO generating Username.

It says: "root > root" in a "su" declaration. It is wrong, it should give the user name who sued to root.

The above URL is more explicit.

Reproducible: Always

Steps to Reproduce:
1. install syslog-ng & start it
2. install logwatch & configure it to send mails or print logs
3. do something like su or sudo
4. read the logmail containing the logs.

Actual Results:  
"root > root" (for the root case)

Expected Results:  
username_who_su_ed (uid_of_user) > root (or other user account sued into)

I am complaining about this from last summer, nobody gives a damn.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-05-11 12:45:40 UTC
Please read http://www.gentoo.org/doc/en/bugzilla-howto.xml regarding what should be put into the summary field. Never ever put a URL in there...
Comment 2 Benedikt Böhm (RETIRED) gentoo-dev 2009-12-03 18:05:02 UTC
please attach a log excerpt for su/sudo
Comment 3 Benedikt Böhm (RETIRED) gentoo-dev 2009-12-04 11:15:36 UTC

*** This bug has been marked as a duplicate of bug 244613 ***