change drive

Mario Vukelic mario.vukelic at dantian.org
Wed Apr 20 10:03:24 UTC 2005


On Wed, 2005-04-20 at 11:07 +0300, ZIYAD A. M. AL-BATLY wrote:
> > Also, when you run sudo, a few commands are not available, such as
> > "cd".  This is because they would pose a security risk.
> Changing your working directory with "cd" alone is not a security
> risk,
> what comes after that is, but I've read your whole message and I see
> were are going. (This paragraph is for Matthew, so anybody who doesn't
> understand a thing of it just ignore it.)

I did not catch the whole message, but I ran across a problem with sudo:
If the permissions of a directory don't allow a normal user to read its
contents or change into it, the fact that cd (as a shell built-in
command) is not available with sudo becomes a real problem.
Case in point: /etc/ppp/peers: there seems to be no way to change
anything there if you don't have a root user.

Am I missing something? If not, I would file a bug.

Kind regards, M





More information about the ubuntu-users mailing list