由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Linux版 - ubuntu sudo PATH issue
相关主题
Let a non-root user turn off computer这边高手多,问个简单网络问题
问个基础问题,关于linux command存放地址成功安装Chrome OS到硬盘上
求助, XFS盘出问题了。Newbie question
Google Chrome汉字乱码装个无线usb adapter把u-nas iv的debian系统搞费了
Command not foundiptables禁用的ip存在哪里?
what packages needed to init 5 X11busybox ined problem
MATLAB 2009 on RHEL5how to do this Iptables setting?
Autologinexpect question
相关话题的讨论汇总
话题: sudo话题: usr话题: vadmin话题: arm话题: path
进入Linux版参与讨论
1 (共1页)
J*******e
发帖数: 63
1
login as vadmin.
type a command on the bash shell
arm-elf-ar .. the command is executed
but type command using sudo
vadmin@ubu1004:~/GNU/gcc-4.1.1/built-gcc$ sudo arm-elf-ar
[sudo] password for vadmin:
sudo: arm-elf-ar: command not found
How could I configure the PATH
vadmin@ubu1004:~/GNU/gcc-4.1.1/built-gcc$ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr
/local/arm/bin:/usr/local/arm/bin
arm-elf-ar locates in :/usr/local/arm/bin
vadmin@ubu1004:~/GNU/gcc
x****s
发帖数: 921
2
sudo su -
(now is root)
sudo -V
check the
Environment variables to remove:
Environment variables to preserve:
man sudoers (search for env_reset)
1 (共1页)
进入Linux版参与讨论
相关主题
expect questionCommand not found
iptables can kill the network connection if booting from nfs ?what packages needed to init 5 X11
simulate connection drop by iptables?MATLAB 2009 on RHEL5
echo $VAR is not working in bash shell script ?Autologin
Let a non-root user turn off computer这边高手多,问个简单网络问题
问个基础问题,关于linux command存放地址成功安装Chrome OS到硬盘上
求助, XFS盘出问题了。Newbie question
Google Chrome汉字乱码装个无线usb adapter把u-nas iv的debian系统搞费了
相关话题的讨论汇总
话题: sudo话题: usr话题: vadmin话题: arm话题: path