Re: SUID /usr/bin/rsh on Stable 4.8 after installworld

2003-10-26 Thread Allen Landsidel
At 09:10 10/26/2003, Jim wrote:

[snip]

At some point in this process however, I get to cvsup, buildworld, and
installworld.  This process re-enables the old permissions on the files I so
diligently locked down.  I would expect there is a flag or include/exclude
file somewhere I need to lookup to prevent cvsup from doing this in the
first place, but like I said, I'm new.
The problem I need help with though, is the fact that I cannot chmod 000
certain binaries after this process (for example: /usr/bin/rsh,
/usr/bin/yppasswd, /usr/bin/ypchfn, etc.).  The following occurs:
# chmod 000 /usr/bin/rsh
chmod: /usr/bin/rsh: Operation not permitted
chflags is what you want
man chflags
specifically the schg flag.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Question about IRQs and SMP

2003-10-02 Thread Allen Landsidel
Not as complicated a question as one might thing, but I still haven't found 
a way.. so, is there some way I can get tools like systat (systat -vmstat 
1) or vmstat (vmstat -i) that show irq rates to display the proper IRQs 
on SMP boxes?

I have several SMP boxes right now, and despite all my manpage digging and 
googling, I can't figure out a way to demux the mux'd IRQ for display 
purposes; It's quite useless to know that mux irq2 is handling 1k+ 
interrupts/sec when there are several devices actually using that irq..

Sample output:

interrupt   total   rate
mux irq2 51255486416
fdc0 irq6   3  0
clk irq0 12300164 99
rtc irq8 15743621127
Total79299274644
NIC, scsi controller, etc are all contained within the mux I believe, along 
with most everything else on this box from the looks of it.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]