Re: [ros-users] Running commands as SuperUser

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
+ (text/html)
このメッセージを削除
このメッセージに返信
著者: Dan Lazewatsky
日付:  
To: ros-users
題目: Re: [ros-users] Running commands as SuperUser
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
>
> https://code.ros.org/mailman/listinfo/ros-users