<meta http-equiv="content-type" content="text/html; charset=utf-8"><div>Alexis, </div><div>Another way in which we did this on the PR2 in the past was to use roslaunch's remote launching capability to connect to a machine definition of root@hostname <a href="http://www.ros.org/wiki/roslaunch/XML/machine">http://www.ros.org/wiki/roslaunch/XML/machine</a> and then we setup the ssh keys to allow access. </div>

<div><br></div><div>Tully</div><br><div class="gmail_quote">On Wed, Jun 2, 2010 at 1:55 PM, Ruben Smits <span dir="ltr"><<a href="mailto:ruben.smits@mech.kuleuven.be">ruben.smits@mech.kuleuven.be</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Wednesday 02 June 2010 22:28:19 Alexis Cheng wrote:<br>
> Hi,<br>
><br>
> I have a couple of source files that require super user privilege. Is it<br>
> possible to run commands such as rosrun as super user? I tried sudo rosrun<br>
> ... and it returns with rosrun: command not found. Has anybody ran into<br>
> this issue, and if so how did you get around it? Thanks for your<br>
> attention.<br>
<br>
</div>We got around the problem by becoming root using "sudo su", sourcing the<br>
setup.sh file (or any other way to set up the ROS environment for the root<br>
user), and executing rosrun as root.<br>
<br>
Ruben<br>
<div class="im"><br>
<br>
> Regards,<br>
> Alexis Cheng<br>
> Electrical Engineering<br>
> University of British Columbia<br>
><br>
> ________________________________<br>
> 30 days of prizes: Hotmail makes your day easier! Enter<br>
</div>> now<<a href="http://go.microsoft.com/?linkid=9729705" target="_blank">http://go.microsoft.com/?linkid=9729705</a>><br>
<div><div></div><div class="h5">_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Tully Foote<br>Systems Engineer<br>Willow Garage, Inc.<br><a href="mailto:tfoote@willowgarage.com">tfoote@willowgarage.com</a><br>(650) 475-2827<br>