怎么还没有人回答这个问题!!!!如何显示root用户登录界面?
Tofloor
poster avatar
uncleJian
deepin
2013-10-26 01:02
Author
安装了12.12.1版本,每次输入sudo和su太麻烦了,请问这个版本怎么样才能显示root登录的界面?还有个性化设置里怎么没有联网主题?
Reply Favorite View the author
All Replies
electricface
deepin
2013-10-26 01:17
#1
~/.bashrc文件里加一条
bind -f ~/.inputrc
方便调试 inputrc

~/.inputrc 文件里面写上
"\C-g": '\C-asudo \C-m'
每次写完一条命令需要用sudo执行就按Ctrl+g

root进桌面可能有一些副作用。
Reply View the author
electricface
deepin
2013-10-26 02:47
#2
还有更好的方法
在 ~/.bashrc 里面写
bind -f ~/.inputrc
bind '"\eO1;3Q":"\C-asudo \C-m"'
按 Alt+F2 就可以用sudo执行一条命令。
Reply View the author
uncleJian
deepin
2013-10-26 09:33
#3
~/.bashrc文件里加一条
[quote]bind -f ~/.inputrc
方便调试 inputrc

~/.inputrc 文件里面写上
"\C-g": '\C-asudo \C-m'
每次写完一条命令需要用sudo执行就按Ctrl+g

root进桌面可能有一些副作用。[/quote]
我想直接用root登陆,这样我操作的一些程序可以自动在根目录中创建文件夹,请问有什么办法直接以root用户登陆么?
Reply View the author