public inbox for overseers@sourceware.org
 help / color / mirror / Atom feed
From: "Frank Ch. Eigler" <fche@elastic.org>
To: overseers@sourceware.org
Subject: aging inactive users
Date: Fri, 5 Apr 2024 21:13:07 -0400	[thread overview]
Message-ID: <ZhCho2hjRACDztxy@elastic.org> (raw)

Hi -

Sourceware does not have a mechanical process for aging out hosted
project contributors who have not logged on for a long time.  Given
that projects haven't undertaken this sort of janitorial task, it's
probably time that we put one in place.

A brief shell script scanning ssh authentication logs in
/var/log/secure* spanning a year indicates that only about 1/4 of our
accumulated user base has been active during that time.
(/sourceware/infra/bin/list-ssh-login)

After gathering feedback here, I plan to send a batch of email to
those found not to be active (via their USER@sourceware.org email
addresses).  Then a few weeks later, if they still haven't become
active, I plan to set them to "gid=emeritus" status, so those accounts
can no longer log in.  (This status is easy to reverse if anyone there
is ready to return.)

For administrative/shared accounts, one needs do this analysis on a
per-key basis.  It probably needs to be more recent, considering the
greater privileges of these accounts, say 6 months.  There, a more
manual process to compare ssh-keygen -l lists against the actually
used ssh fingerprints could be used.  That way, we can age out only
those users & keys that have not been used, but preserve others.  I'll
work out another little script for that postprocessing and get it to
note findings via email too.

I propose to repeat this exercise every few months.

Feedback & comments welcome.

- FChE

             reply	other threads:[~2024-04-06  1:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-06  1:13 Frank Ch. Eigler [this message]
2024-04-06  2:13 ` Andrew Pinski
2024-04-07 22:29 ` Mark Wielaard
2024-04-08  4:32   ` Sam James
2024-04-08 16:20   ` Frank Ch. Eigler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ZhCho2hjRACDztxy@elastic.org \
    --to=fche@elastic.org \
    --cc=overseers@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).