Sudo Shell?

Paul Lussier pll at
Wed Jun 28 16:51:04 EDT 2000

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
	"I always explain our company via interpretive dance.
	     I meet lots of interesting people that way."
					  Niall Kavanagh, 10 April, 2000

	 If you're not having fun, you're not doing it right!

More information about the sudo-users mailing list