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

Re: X and xterm suid root in new X packages?



On Fri, 12 Feb 1999, Branden Robinson wrote:

> On Fri, Feb 12, 1999 at 10:26:53AM +0100, Petr Cech wrote:
> > But isn't it a problem, that they were installed _not_ suid root,
> > so the cron job got them and fixed. That's strange.
> > (at least that way I understand that suidregister message)
> 
> You're misreading.  The cron job did not change the permissions on those
> files, it just reported that the permissions (either for real, or in
> suidmanager's notion of what they should be) had changed since the last
> time suidmanager took a look at them (probably 24 hours earlier).

Actually, suidmanager checks if the permissions are different from what's
listed in the /etc/suid.conf file. If there is a difference which you
don't fix, you'll get a message every day.

If it says something like this:

/usr/X11R6/bin/X PERMISSION MISMATCH: was root.root 755 changed to
root.root 4755

it means, that /usr/X11R6/bin/X has permissions 755, while /etc/suid.conf
says it should be 4755.

Remco


Reply to: