Currently, oarsh on the head node does not give shell with the same environment as on other nodes. This is due to the fact that node files, resource files and other information are only available on the head node. The idea here would be to set the same shell environment whatever the node is, by sourcing a /var/lib/oar/_environment file, in oarsh_shell. This file: /var/lib/oar/_environment, as well as the node file and resource file should be pushed on every nodes by the job resource manager. **Implementation done**: https://gforge.inria.fr/scm/browser.php?group_id=125 (need tests)