Sudo Shell?

Andrew Schaefer andrew at traffic.com
Thu Jun 29 11:26:43 EDT 2000


Would you mind re-posting that or e-mailing me a copy?  I joined a week
or two ago, so missed it.

Thanks.

Andrew Schaefer
andrew at traffic.com

Matthew.Hannigan at nl.abnamro.com wrote:
> 
> Except for the cd (and any other builtin) you can do this
> with my generic sudo wrapper, posted to this mailing
> list a month or so ago.
> 
> -Matt
> 
> To:   pll at mclinux.com, sudo-users at courtesan.com
> Subject:  Re: Sudo Shell?
> 
> Thanks for the workaround, but it still causes usability problems with
> my users.  I'm wondering if the following is possible or if there is
> another utility I should look into to do it (basically an "su" that logs
> each command):
> 
> $ id
> joeuser 99
> $ sudoshell
> -- you are now root with idle timeout in 5 minutes
> -- and commands logged like you had issued sudo before each command
> # cd /restricted/dir1/dir2/dir3
> # pwd
> /restricted/dir1/dir2/dir3
> # id
> root 0
> 
> Thanks,
> Chris
> 
> Paul Lussier wrote:
> >
> > In a message dated: Wed, 28 Jun 2000 15:56:36 CDT
> > Chris Covington said:
> >
> > >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.
> >
> > Hmmmm, how about:
> >
> >         > sudo "ls -lR forbidden_dir | less"
> >
> > --
> > Seeya,
> > Paul
> > ----
> --
> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
> Chris Covington, Unix Services and Consulting
> UnitedHealthGroup, ccoving at uhc.com
> \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
> ____________________________________________________________
> sudo-users mailing list <sudo-users at courtesan.com>
> For list information, options, or to unsubscribe, visit:
> http://www.courtesan.com/mailman/listinfo/sudo-users
> 
> ____________________________________________________________
> sudo-users mailing list <sudo-users at courtesan.com>
> For list information, options, or to unsubscribe, visit:
> http://www.courtesan.com/mailman/listinfo/sudo-users



More information about the sudo-users mailing list