[ome-users] importer-cli and session key

Mark Henshall Mark.Henshall at cancer.org.uk
Fri Jul 3 10:51:33 BST 2009


What we're trying to do is import images automatically - I've mounted 
the home directories from the microscope on the ome server, and I'll be 
able to write a script pretty easily to check for new images in 
people's directories. Once I find a new image, I want to import it into 
their account in ome.

I've done the import on the command line like this:

omero import -s localhost -u "My Username" -w mypassword -n 
/home/mydir/wtAFZ1_bgalwgecad_110609.tif 
/home/mydir/wtAFZ1_bgalwgecad_110609.tif

and it works fine.

But the problem I have is that I want to do this for many users, and I 
don't have access to their passwords, and I don't want to (and putting 
them in an ascii file would work, but only until they change their 
password because of the site-wide password policy). So can I use the 
'-k' flag to specify a user, and how would I find out the session key 
for a particular user?


Thanks for any help.



Mark Henshall
Unix Administrator
Cancer Research UK
PO Box 123, Lincoln's Inn Fields
London WC2A 3PX
Registered charity number 1089464

t: 0207 438 5037
m: 07890664727
f: 0207 061 8011
e: Mark.Henshall at cancer.org.uk

www.cancerresearchuk.org
info.cancerresearchuk.org


I would rather sit on a pumpkin, and have it all to myself, than be 
crowded on a
velvet cushion



This communication is from Cancer Research UK. Our website is at www.cancerresearchuk.org. We are a charity registered under number 1089464 and a company limited by guarantee registered in England & Wales under number 4325234. Our registered address is 61 Lincoln's Inn Fields, London WC2A 3PX. Our central telephone number is 020 7242 0200.
 
This communication and any attachments contain information which is confidential and may also be privileged.   It is for the exclusive use of the intended recipient(s).  If you are not the intended recipient(s) please note that any form of disclosure, distribution, copying or use of this communication or the information in it or in any attachments is strictly prohibited and may be unlawful.  If you have received this communication in error, please notify the sender and delete the email and destroy any copies of it.
 
E-mail communications cannot be guaranteed to be secure or error free, as information could be intercepted, corrupted, amended, lost, destroyed, arrive late or incomplete, or contain viruses.  We do not accept liability for any such matters or their consequences.  Anyone who communicates with us by e-mail is taken to accept the risks in doing so.



More information about the ome-users mailing list