Does DTrace base access on permissions for the real UID, or the effective UID? If I su to another user, will access be checked as me, or as that user? Thanks, Marty
On Thu, Oct 13, 2005 at 08:34:16AM -0700, Marty Itzkowitz wrote:> Does DTrace base access on permissions for the real UID, or the effective UID? > If I su to another user, will access be checked as me, or as that user?DTrace checks permissions not based at all on uid, but on your privileges. If you su to a different user you will have the privileges appropriate for that user. Running ppriv on the process id for your new shell will show you what privileges you have. Adam -- Adam Leventhal, Solaris Kernel Development http://blogs.sun.com/ahl
Hi Marty, DTrace checks access based on roles. It''s documented in the DTrace manual but I don''t remember where. Diane Marty Itzkowitz wrote:>Does DTrace base access on permissions for the real UID, or the effective UID? >If I su to another user, will access be checked as me, or as that user? > > Thanks, > Marty > >_______________________________________________ >dtrace-discuss mailing list >dtrace-discuss at opensolaris.org > >
It''s worth noting that roles are different than privileges which is the mechanism used by DTrace for access checking. Roles can _grant_ privileges, but they''re a distinct mechanism. Adam On Thu, Oct 13, 2005 at 12:20:12PM -0400, Diane Fallier wrote:> Hi Marty, > > DTrace checks access based on roles. It''s documented in the DTrace > manual but I don''t remember where. > > Diane > > Marty Itzkowitz wrote: > > >Does DTrace base access on permissions for the real UID, or the effective > >UID? > >If I su to another user, will access be checked as me, or as that user? > > > > Thanks, > > Marty > > > >_______________________________________________ > >dtrace-discuss mailing list > >dtrace-discuss at opensolaris.org > > > > > > _______________________________________________ > dtrace-discuss mailing list > dtrace-discuss at opensolaris.org-- Adam Leventhal, Solaris Kernel Development http://blogs.sun.com/ahl