Fedora 9 -解决ifconfig无法于一般使用者状态下使用

作者: yvcxun 2008-10-05 00:54:23
1.路径# /sbin/ifconfig

2.修改/etc/profile文件

[root@ximi_Fedora ximi]# gedit /etc/profile

把下面if语句注释掉

引用:
# Path manipulation

if [ "$EUID" = "0" ]; then

pathmunge /sbin

pathmunge /usr/sbin

pathmunge /usr/local/sbin

fi


修改为:

引用:
# Path manipulation

#if [ "$EUID" = "0" ]; then

pathmunge /sbin

pathmunge /usr/sbin

pathmunge /usr/local/sbin

#fi


保存,重新启动。

相关资讯