Last modified: 2014-03-14 20:07:19 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T63967, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 61967 - Rename (remove?) shell user "80686"
Rename (remove?) shell user "80686"
Status: NEW
Product: Wikimedia Labs
Classification: Unclassified
Infrastructure (Other open bugs)
unspecified
All All
: Unprioritized normal
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-26 22:40 UTC by Tim Landscheidt
Modified: 2014-03-14 20:07 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Tim Landscheidt 2014-02-26 22:40:55 UTC
On tools-login, about every second minute something tries to resolve the username "80686", but is hindered by nslcd.conf's validnames:

| Feb 26 22:24:03 tools-login nslcd[32642]: [d39979] <passwd(all)> passwd entry uid=80686,ou=people,dc=wikimedia,dc=org denied by validnames option: "80686"

Yet, temporarily tweaking /etc/nslcd.conf and "sudo service nslcd restart && getent passwd 80686" doesn't yield any result either.  But:

| scfc@tools-login:~$ ldaplist -l passwd 80686

| dn: uid=80686,ou=people,dc=wikimedia,dc=org
|         uid: 80686
|         objectClass: person
|         objectClass: organizationalPerson
|         objectClass: inetorgperson
|         objectClass: ldapPublicKey
|         objectClass: shadowaccount
|         objectClass: posixaccount
|         objectClass: top
|         loginShell: /usr/local/bin/sillyshell
|         sshPublicKey: ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA1Gpgy5PcnNP6I3P4QkqB4yZMAsinFZOpPg5iAss8aXAdTSfJhFlGXEhq9TnohnbXIeeFAvRgh9fo2VC/iUxfvssBUdZ3WNNtDWLEV/7yoVptHhfPb1Y9nyCVrcZtQMxatY/Pn3L2pmyzYWoi9QpFs/pk0fF+ePfbiNM47+W0JKOrIZYMiTLfyXzz1fMqHOvUsSC/bruoupqAUsKfxrtYUnvsu6xUM0+ScykEFg3fgMyoVcQFQlxco+MzzA1E3BfpYThbvoqizH4OgDMJ02siYfR/F3d+WdRQ+B/p7ZwtAfZ81+F2cYPpEUgiMW1APJpXwfsRAoEbzhlnjROcDGFWIw== manuel@mirabilis
|         uidNumber: 1044
|         gidNumber: 550
|         sn: 80686
|         homeDirectory: /home/80686
|         cn: 80686
| scfc@tools-login:~$

does.  However, there is no [[wikitech:User:80686]] ("sn" is apparently the wikitech username) and Gerrit doesn't know a user with that name either if one queries for "owner:80686".  There is no home directory for the user in the Bastion project.
Comment 1 Andre Klapper 2014-02-27 11:48:19 UTC
This might be coincidence, but the private email (non-Labs) I received about the upcoming Zürich Hackathon Registration came from "80686 <username@wikimedia.ch>" which was surprising enough that I remembered (replace username above by 'manuel dot schneider').
Comment 2 Tim Landscheidt 2014-02-27 12:18:40 UTC
That would align with "manuel@mirabilis" in the ssh key.  Manuel, perhaps you can shed some light on this: Have you actively registered on wikitech or Gerrit?  Or was 80686 perhaps an SVN username that was migrated?
Comment 3 Manuel Schneider 2014-02-27 12:26:46 UTC
Yes, User:80686 is me.

This was my SVN account that must have been migrated.
Comment 4 Tim Landscheidt 2014-02-27 12:31:53 UTC
In mediawiki/core:

| commit 577b0bd99107d79227cfcdbc5e4f844642c4ea1d
| Author: Manuel Schneider <80686@users.mediawiki.org>
| Date:   Thu Mar 22 09:08:08 2007 +0000

|     updated release notes

| commit d133a108c6e37a80e079988e86a621fb689d18ff
| Author: Manuel Schneider <80686@users.mediawiki.org>
| Date:   Thu Mar 22 08:19:47 2007 +0000

|     fixed bug in call of hook ArticleViewHeader

| commit 4ac631ca02ebd36cbbb8920c226288e8b53efe79
| Author: Manuel Schneider <80686@users.mediawiki.org>
| Date:   Thu Jan 18 09:49:28 2007 +0000

|     Localisation updates from 80686 and Raymond.

| commit 6c695ae7c8be363a0ed845ff94aece9e8d42f51d
| Author: Manuel Schneider <80686@users.mediawiki.org>
| Date:   Wed Dec 13 10:26:37 2006 +0000

|     added additional check to avoid warnings

So: Yes :-).

Chad, does Gerrit need all authors to have an LDAP account?

If not and Manuel hasn't accessed wikitech/Gerrit with that account, I think we could just delete the entry in LDAP and set up the forwarding for 80686@users.mediawiki.org in exim (if those addresses actually work).
Comment 5 Tim Landscheidt 2014-03-04 23:43:45 UTC
From #wikimedia-labs:

| <scfc_de> ^d: Could you comment on
|           https://bugzilla.wikimedia.org/show_bug.cgi?id=61967#c4 when you
|           have some time, please?  [19:44]
| <^d> User exists in ldap because user was in svn.  [19:45]
| <^d> Doesn't exist in gerrit at all afaik.
| <scfc_de> So if he were removed from LDAP, what would be the consequences?
|                                                                         [19:46]
| <^d> Nothing for gerrit.
| <^d> Gerrit doesn't even know the user exists.
Comment 6 Tim Landscheidt 2014-03-14 20:07:19 UTC
The error occurs only on tools-login, and the interval correlates to toolwatcher's "sleep 120"; so I "sudo tail -f /var/log/syslog | fgrep 80686 &"'d and can trigger the warning with "getent passwd > /dev/null".

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links