Re: sudo: cd: command not found
Originally Posted by
t0p
Thanks.
Tell you what though, that does seem to be a bit of a boo boo. Ubuntu encourages use of sudo rather than logging in as root. Yet sudo will not work with these builtins.
Why won't sudo work with builtins? Actually, that should read as: Why don't the writers of sudo want it to work with builtins?
As your user, you cannot change into that directory. As root you can. Using sudo, you escalate your privileges to be able to do that, but once that command finishes, you are back to your regular privileges. But as your user with regular privileges you are not allowed to cd there...
The current behavior is correct.
I lost a "z". Anyone seen it around here?
Bookmarks