Open ransona opened 12 months ago
I have implemented the first step for this: allowing processes running under adamranson
to run commands as other lab users i.e. if the queue listener is running under adamranson
, it will be able to run commands (like python
) as a different user. to do this, you should use the sudo
command, e.g. sudo -u pmateosaparicio python script.py
@ransona as a first step, can you test this from a terminal, then we can go from there?
@ransona I've reimplemented this on the new server.
Details: I've created a group called labrunner
that you and I are members of. A labrunner
can run commands as anyone who is a member of the ransonlab
group, as in:
sudo -u pmateosaparicio python script.py
add function to run suite2p via queue/pipeline but in other users conda envs the main aim is for users to be able to have their own versions of suite2p installed.