<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <p><font size="4">Hi Herbert,</font></p>
    <p><font size="4">I am not aware of anyway of programmatically
        removing a user from the command line.&nbsp; There is the
        EPRINTS_PATH/bin/toolbox that can do standard API like
        operations but only for eprints, documents and files, including
        delete in a way similar to how you may intend for these spurious
        users.&nbsp; It may be possible to extend this but would need to be
        done with care.&nbsp; <br>
      </font></p>
    <p><font size="4">I assume in your scenario they are unused user
        accounts with no eprints associated.&nbsp; These would be safe to
        delete but those with eprints would need to have a mechanism for
        reassigning them or at least confirm the person using the
        command is happy for them to be deleted as well.&nbsp; I think this
        is probably why there is no command line tool to do this, as it
        could be rather dangerous.</font></p>
    <p><font size="4">Regards</font></p>
    <p><font size="4">David Newman<br>
      </font></p>
    <div class="moz-cite-prefix">On 23/03/2022 7:29 am, Herbert
      Hrachovec via Eprints-tech wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:20220323082956.3cd8082a@alkestis">
      <pre class="moz-quote-pre" wrap="">CAUTION: This e-mail originated outside the University of Southampton.

Hello,

is there a way to delete spurious users on the command line e.g. by
their UID? (I've had some of them.)

Best regards,
h.h.

*** Options: <a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a class="moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cdfdd5c9907be419b925408da0cabc4e8%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637836229125089118%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=wsmG6GtxG%2FSsrDw0vm3cWD4Ufy%2BdA6pL5Fx%2FxaX75sQ%3D&amp;reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="jSkSft7u0hLM8gonjRJjmI2E08Uva/+qyYzmveRvQiM3rRBoK/eqMt/apBUnMG0lrBjKwkevHEddx5fTVILd0cnuwchRi/PPrSa9eAHIiUKKLA+vQI53xYms9A3KKfqSmANbYLsdY0akSzp1xVZHguZP6ys0GkPkc3+p/VhijqE=">https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&amp;amp;data=04%7C01%7Cdrn%40ecs.soton.ac.uk%7Ce522e733da2143a0189808da0c9f1820%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637836174687084470%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;amp;sdata=kPkd9EVr4pluBaSEUKdR3sekw1vLVO2xGD%2BlnKCU9mc%3D&amp;amp;reserved=0</a>
*** EPrints community wiki: <a class="moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cdfdd5c9907be419b925408da0cabc4e8%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637836229125089118%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=aBn%2BThoH%2BlV81%2BIWy8rvl4PUPvdsMz6QaP4zR7PqoqA%3D&amp;reserved=0" originalSrc="http://wiki.eprints.org/" shash="NiBcnrcldVpU8FHJwyPA6+aqLzWQYghosoZoK4ZfPr2OUHMeP0bbEshco5thRjNt9ERGFeo/nFZwhA208+h/BaTRiyh956EdrHM4gAwX96v/JRUoLuNSLZpmq6XmUqRaWjyQmdoCKlcpZ6D1dVL0riwHiVSy8Nyx+nTYR4Fcw24=">https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;amp;data=04%7C01%7Cdrn%40ecs.soton.ac.uk%7Ce522e733da2143a0189808da0c9f1820%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637836174687084470%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;amp;sdata=OQL8i4yrY2Z9g0S%2FBppIXlVgSE4dleBXECHsLK9Tllo%3D&amp;amp;reserved=0</a>
</pre>
    </blockquote>
  </body>
</html>