Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
root 以外のユーザーとして、eshell で通常の Linux コマンドを実行できます。root に su しようとすると、通常の Linux コマンド (ls、cat など) がすべてなくなります。これを修正するにはどうすればよいですか?
1つの方法は、トランプを使用することです。
cd /su::/etc/ ls
次に、eshellはsuを使用してコマンドを「リモートで」実行します。
テスト後、lsは機能しているように見えますが、一部の(すべてではない)外部コマンドに問題があります。