[ros-users] Running commands as SuperUser

Dan Lazewatsky lazewatskyd at cse.wustl.edu
Wed Jun 2 20:35:53 UTC 2010


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.

-Dan
On Jun 2, 2010, at 4:28 PM, Alexis Cheng wrote:

> Hi,
>
> 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.
>
> Regards,
> Alexis Cheng
> Electrical Engineering
> University of British Columbia
>
> 30 days of prizes: Hotmail makes your day easier! Enter now  
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20100602/3634d285/attachment-0003.html>


More information about the ros-users mailing list