Re: Sudo from scripts

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

 



On Tue, 2008-11-18 at 09:39 -0600, Mikkel L. Ellertson wrote:
> Patrick O'Callaghan wrote:
> > 
> > The ability to do what? Give root ownership to a script? It is
> > unchanged. Once again: only root can change ownership.
> > 
> > In any case, the owner of the script is only security-relevant in two
> > cases: 1) if it allows someone to edit the script who normally couldn't,
> > or 2) if the script is setuid. Of course it could also change who can
> > *execute* the script, but if it's not setuid they'll be doing it as
> > themselves, not as the owner.
> > 
> Does setuid work on scrips? I know it did not in the past, but I
> have not checked to see if that has changed.

Quite right, it doesn't. I should have spotted that.

It doesn't affect the argument though.

poc

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux