Su和Su-to-root之间的区别?

Sopalajo de Arrierez

有关于的使用这个论坛的其他问题susu -su root...等等。

但是我没有找到有关该su-to-root命令的任何信息,并且我想了解其用法的基础知识。

我希望这个示例可能有用:在Kali Linux v2.0 live(台式PC版本)上,安装程序使用以下.desktop直接链接:

root@kali:~$ more /usr/share/applications/debian-installer-launcher.desktop
[Desktop Entry]
Version=1.0
Name=Install Kali
Comment=Install this system permanently to your hard disk
Exec=su-to-root -X -c /usr/sbin/debian-installer-launcher
Icon=debian-installer-launcher
Type=Application
Categories=Application;System;
StartupNotify=true
Terminal=false

如果我想从X Windows终端手动启动安装程序,则必须使用

su-to-root -X -c /usr/sbin/debian-installer-launcher

或者我可以简单地做:

sudo /usr/sbin/debian-installer-launcher

pacoseventeen

su-to-root只是su的GUI前端。如果您对终端感到满意,那么使用sudo应该可以正常工作。

有关更多信息:http : //manpages.ubuntu.com/manpages/intrepid/man1/su-to-root.1.html

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章