[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] command line user delete?



Hi Herbert,

I am not aware of anyway of programmatically removing a user from the 
command line.? 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.? It may be possible to extend this but would need to be 
done with care.

I assume in your scenario they are unused user accounts with no eprints 
associated.? 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.? I 
think this is probably why there is no command line tool to do this, as 
it could be rather dangerous.

Regards

David Newman

On 23/03/2022 7:29 am, Herbert Hrachovec via Eprints-tech wrote:
> 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:http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
> *** Archive:https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cdfdd5c9907be419b925408da0cabc4e8%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637836229125089118%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=wsmG6GtxG%2FSsrDw0vm3cWD4Ufy%2BdA6pL5Fx%2FxaX75sQ%3D&reserved=0
> *** EPrints community wiki:https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cdfdd5c9907be419b925408da0cabc4e8%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637836229125089118%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=aBn%2BThoH%2BlV81%2BIWy8rvl4PUPvdsMz6QaP4zR7PqoqA%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20220323/4b3b7c78/attachment.html