EPrints Technical Mailing List Archive
Message: #08903
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] command line user delete?
- To: <eprints-tech@ecs.soton.ac.uk>, Herbert Hrachovec <herbert.hrachovec@univie.ac.at>
- Subject: Re: [EP-tech] command line user delete?
- From: David R Newman <drn@ecs.soton.ac.uk>
- Date: Wed, 23 Mar 2022 09:01:50 +0000
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
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=""> *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url="">
- References:
- [EP-tech] Upgrading to 3.4.3 - an experience
- From: Ravi M <rm@auroville.org.in>
- [EP-tech] command line user delete?
- From: Herbert Hrachovec <herbert.hrachovec@univie.ac.at>
- [EP-tech] Upgrading to 3.4.3 - an experience
- Prev by Date: [EP-tech] command line user delete?
- Next by Date: Re: [EP-tech] command line user delete?
- Previous by thread: [EP-tech] Sort view with creators_name and corp_creators
- Index(es):