Re: More PATH fallout. Who decided this was a good idea?

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

 



On Sat, 2008-12-06 at 12:52 -0500, Steve Grubb wrote:
> On Saturday 06 December 2008 11:56:31 Jesse Keating wrote:
> >  ordinary user cannot possibly use these tools since they do not have the
> >
> > > requisite permissions.
> >
> > Now I'm confused.  Why would the binary have to be suid?
> 
> Because if they didn't type --help, we are going to have to log the attempted 
> compromise. Sending an audit event requires CAP_AUDIT_WRITE. You have to be 
> setuid root from the beginning or not at all.

On Sat, 2008-12-06 at 12:02 -0600, Callum Lerwick wrote:
> If you're not auditing *every* attempt to open() /etc/shadow at the
> syscall layer 

... IN THE KERNEL

> it sounds to me like
> you are doing it wrong.

> > It seems that the cert folks have a different definition of "use" than
> > we do.  A normal user should be able to use the binary to get help
> > output, and the binary would be useful in path for things like tab
> > completion leading up to a sudo call.
> 
> An unprivileged user cannot successfully use this utility. Just like tcpdump 
> can't be used. The difference is that shadow-utils modifies a trusted database 
> and tcpdump doesn't. 

They can successfully use it to get the help page. I don't need a whole
man page I just need a short reminder of available flags. And I often
strip man and all documentation off most of my secondary systems to save
on disk space and stop !@#$ing makewhatis from pointlessly chewing CPU
and disk IO for no reason.

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux