****you do not have the permissions necessary t...

面试:你懂什么是分布式系统吗?Redis分布式锁都不会?>>>   hot3.png

1. Open a terminal
2. Type: sudo gedit /etc/X11/xorg.conf
3. Modify your file
4. Save your file

    1>、进入超级用户模式。也就是输入"su -",系统会让你输入超级用户密码,输入密码后就进入了超级

用户模式。
   2>、添加文件的写权限。也就是输入命令"chmod u+w /etc/sudoers"。
   3>、编辑/etc/sudoers文件。也就是输入命令"vim /etc/sudoers",输入"i"进入编辑模式,找到这一

行:"root ALL=(ALL) ALL"在起下面添加"xxx ALL=(ALL) ALL"(这里的xxx是你的用户名),然后保存(就

是先摁一下Esc键,然后输入":wq")退出。

   4>、撤销文件的写权限。也就是输入命令"chmod u-w /etc/sudoers"。

Fedora10 安裝完成後x-windows 無法用 root登入決解方法
在/etc/pam.d/gdm中的auth required pam_succeed_if.so user != root quiet 加個註解

如果你是想启动就进入字符界面的话,你要改一下/etc/inittab这个文件,把id:5:initdefault:这行中

的5改成3,保存,从启,就好了。

你可能感兴趣的:(****you do not have the permissions necessary t...)