<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Alexis - you're getting "rosrun: command not found" because ros is not setup in root's environment, or the login scripts aren't being run. You could try setting up root's .bashrc with all your ros environment stuff and using sudo -i.</div><div><br></div><div>-Dan</div><div>On Jun 2, 2010, at 4:28 PM, Alexis Cheng wrote:</div><div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="hmmessage" style="font-size: 10pt; font-family: Verdana; ">Hi,<br> <br>I have a couple of source files that require super user privilege. Is it possible to run commands such as rosrun as super user? I tried sudo rosrun ... and it returns with rosrun: command not found. Has anybody ran into this issue, and if so how did you get around it? Thanks for your attention.<br> <br>Regards,<br>Alexis Cheng<br>Electrical Engineering<br>University of British Columbia<br><br><hr>30 days of prizes: Hotmail makes your day easier!<span class="Apple-converted-space"> </span><a href="http://go.microsoft.com/?linkid=9729705" target="_new">Enter now</a><span class="Apple-converted-space"> </span>_______________________________________________<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">https://code.ros.org/mailman/listinfo/ros-users</a><br></div></blockquote></div><br></body></html>