After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 467685 - incorrectly detecting local users
incorrectly detecting local users
Status: RESOLVED FIXED
Product: gnome-volume-manager
Classification: Deprecated
Component: general
2.17.x
Other All
: Normal minor
: ---
Assigned To: Gnome volume manager maintainers
Gnome volume manager maintainers
Depends on:
Blocks:
 
 
Reported: 2007-08-17 15:16 UTC by Kees Cook
Modified: 2007-08-17 15:27 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20


Attachments
Fix the logic in the local user detection routine (860 bytes, patch)
2007-08-17 15:17 UTC, Kees Cook
none Details | Review

Description Kees Cook 2007-08-17 15:16:37 UTC
Please describe the problem:
gvm_local_user doesn't correctly test for local users (only the length of the user name is tested if using pam_foreground).

Steps to reproduce:
1. create user "foo" and "bar"
2. log "foo" in locally, log "bar" in remotely
3. see "bar" get notifications


Actual results:
"bar" is detected as being local

Expected results:
only "foo" should be detected local

Does this happen every time?
yes

Other information:
Comment 1 Kees Cook 2007-08-17 15:17:27 UTC
Created attachment 93851 [details] [review]
Fix the logic in the local user detection routine

Based on the recommendations from the Ubuntu bug:

https://bugs.launchpad.net/ubuntu/+source/gnome-volume-manager/+bug/132949
Comment 2 Jeffrey Stedfast 2007-08-17 15:27:07 UTC
this is fixed in svn