[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sudo and shell builtins

scripsit martin f krafft:
> also sprach Thanasis Kinias <tkinias@optimalco.com> [2002.08.03.0023
> +0200]:
> > In short, is there a way to execute a shell builtin as root using
> > something like sudo, or must I always open a root shell to use 'cd'
> > or similar?
> When sudo finished, permissions will be dropped. what good is a shell
> that might have `pwd` set to a non-permitted resource, but not be able
> to do anything with it since it's administratively prohibited?

I can do 'sudo ls', 'sudo tail _file_', etc.

Thanasis Kinias
Web Developer, Information Technology
Graduate Student, Department of History
Arizona State University
Tempe, Arizona, U.S.A.

Ash nazg durbatul�k, ash nazg gimbatul,
Ash nazg thrakatul�k agh burzum-ishi krimpatul

Reply to: