「su」と「su-to-root」の違いは何ですか?

「su」と「su-to-root」の違いは何ですか?

susu -このフォーラムには、、su root...などの使い方に関する他の質問があります。

しかし、このコマンドに関する情報が見つからず、su-to-root基本的な使い方を知りたいです。

この例が役に立つことを願っています。カリLinux v2.0ライブ(デスクトップ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

ベストアンサー1

su-to-rootはsuのGUIフロントエンドにすぎません。端末に慣れている場合は、sudoを使用しても問題ありません。

より多くの情報を知りたい場合:http://manpages.ubuntu.com/manpages/intrepid/man1/su-to-root.1.html

おすすめ記事