crashtar
Alexander Best
alexbestms at math.uni-muenster.de
Tue Oct 13 20:50:47 UTC 2009
Mikolaj Golub schrieb am 2009-10-10:
> On Sat, 10 Oct 2009 12:34:05 +0200 (CEST) Alexander Best wrote:
> AB> thanks. this is a cool script and very useful indeed. only thing
> you might
> AB> want to do is check for root privileges at the beginning to
> avoid nasty error
> AB> messages like.
> AB> awk: can't open file /var/crash/info.0
> AB> source line number 12
> In some cases you might not need root privileges. E.g. on some
> servers I don't
> have root but SA gives me read access to crashdumps. In this case if
> the
> script had a check for root privileges I would not be able to use it.
> Actually as for me the message looks informative enough, it says that
> we have
> some problems with accessing crash dump files, so permissions should
> be
> checked.
alright then. :)
again: great script. would be great to have this in the ports dir in the near
future.
cheers.
alex
More information about the freebsd-hackers
mailing list