Sudo Shell?

Chris Covington ccoving at
Wed Jun 28 16:56:36 EDT 2000

Unfortunately, the files are several directories deep, so it gets
tedious to type them each time (and then hard to get the users to agree
to use sudo).  Thanks anyway though.

Paul Lussier wrote:
> In a message dated: Wed, 28 Jun 2000 15:34:51 CDT
> Chris Covington said:
> >Is there a way to configure sudo so that users can use sudo to "cd" into
> >a root-only directory, then use sudo to look at files inside that
> >directory?  If I use sudo and "cd", it kicks me out right away, and if I
> >"sudo sh" first, then it no longer logs my commands.  I guess I'm
> >looking for a sudo shell wrapper or something like that.
> Well, you could us sudo to ls the directory.
>         > sudo ls -l forbidden_dir
> --
> Seeya,
> Paul
> ----
Chris Covington, Unix Services and Consulting
UnitedHealthGroup, ccoving at,

More information about the sudo-users mailing list