[ https://jira.duraspace.org/browse/DS-1083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=23498#comment-23498 ]
Stuart Lewis commented on DS-1083: ---------------------------------- Some useful comments from Mark Wood: A suggestion: since the DSpace API is rather heavy and takes a while to start, folks who have many accounts to add would probably appreciate the option to provide a file of identity records, rather than start bin/dspace 100 times in a row. If the file looked something like: add-user -u USERID -n "NAME" -p PHONE -m EMAIL ... then that would leave room for the inevitable: delete-user -u USERID and perhaps even: alter-user -u USERID -p PHONE ... and you probably could use the same commandline parser for records in the file that you do for a single-user invocation. Some other thoughts: o some sites may want to pipe an identities file in, so "-" could be recognized for special treatment in the usual way. Such a site would probably also want status messages to be regular enough to be readily machine-readable. o sites that want to drive single-user invocations at the end of a pipeline may want to provide the password on another pipe so that it isn't on the commandline and won't show up on 'ps'. Typically this means passing an FD number as the value of some option. These are all things it would be nice to have, though they might have to wait since IIRC you're on a tight deadline. Just to avoid making it difficult to add them later would be much appreciated. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Asking whether markets are efficient is like asking whether people are smart. > Create new users from the command line > -------------------------------------- > > Key: DS-1083 > URL: https://jira.duraspace.org/browse/DS-1083 > Project: DSpace > Issue Type: New Feature > Components: DSpace API > Reporter: Stuart Lewis > Assignee: Stuart Lewis > > From dspace-tech 24th October 2011: > Hey all, > > Is there a way to register a new user via the command line on the server? I > want to perform the same activity as would happen via the "Register" link on > the dspace site, but via some scripted process. > > Is that doable? > > Thanks in advance! > > Justin -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.duraspace.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Dspace-devel mailing list Dspace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-devel