读书人

Fedora15 增添用户的sudo权限安装Flas

发布时间: 2012-07-27 11:03:00 作者: rapoo

Fedora15 添加用户的sudo权限安装Flash修改启动顺序

安装了 Fedora 15 , 默认是禁止了Root用户登录 ,那么怎么安装Flash呢?

使用 Sudo 安装 ,提示用户不在Sudo 权限列表,

查找到:

首先,需要切换到Root用户:

?

[tommy@wuao-computer ~]$ su root
密码:
[root@wuao-computer tommy]# chmod u+w /etc/sudoers

?

?

vi /etc/sudoers 编辑文件,在root ALL=(ALL)ALL行下添加XXX ALL=(ALL)ALL,XXX为你的用户名。添加方法:找到root行,按下”i“键进入编辑模式添加即可!编辑好后esc键进入一般模式,“:wq"保存退出!
最后, #chmod u-w /etc/sudoers 回到文件的原权限!

?

[root@wuao-computer tommy]# chmod u-w /etc/sudoers
[root@wuao-computer tommy]# exit
exit

?

?

?

安装Flash:

?

?

?

用yum来安装:

su rpm -ivh http://linuxdownload.adobe.com/adobe-release/adobe-release-i386-1.0-1.noarch.rpm

rpm import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux

yum update

yum install flash-plugin

[root@linuxsight linuxsight]# yum install flash-plugin
已加载插件:fastestmirror, langpacks, presto, refresh-packagekit
Loading mirror speeds from cached hostfile

?

?

安装成功。

?

?

?

?

?

默认启动 Windows:

?

?

[tommy@wuao-computer ~]$ su root
密码:
[root@wuao-computer tommy]#? vi /boot/grub/grub.conf

?

把? default=0 修改为 default=1

?

读书人网 >Flash

热点推荐