I can run normal linux commands in eshell as a non-root user. When I try to su to root, all the usual linux commands are gone (ls, cat, etc.) How do I fix this?
Asked
Active
Viewed 679 times
1 Answers
2
One way is to use tramp:
cd /su::/etc/
ls
then eshell will run command "remotly" using su.
After testing, it seem that ls do work, but there is a problem with some (but not all) external command.

Rémi
- 8,172
- 2
- 27
- 32
-
ls does work fine, but I still can't run "yum", fedora's package manager. I get "/usr/bin/python: can't open file '/su:root@localhost:/usr/bin/yum': [Errno 2] No such file or directory" instead. Running the package manager is the primary reason I want to login as root. – avendael Jan 16 '11 at 15:07