Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Sep 2002 21:43:24 -0700 (PDT)
From:      mingo lu <freebiebsd@yahoo.com>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: freebsd 4.5 and bash for root shell
Message-ID:  <20020907044324.8528.qmail@web14801.mail.yahoo.com>
In-Reply-To: <20020906070105.GA34657@happy-idiot-talk.infracaninophi>

next in thread | previous in thread | raw e-mail | index | archive | help
thanks:

Well, I use the su utility came with the system. All i
did was installation of /bin/bash for root user
account toor. I used "vipw" for editting, then I am
getting that trouble. Once i go back to /bin/sh, the
file su.gmon will stop showing up ...

Can't figure out why ...

btw, i did turn out the profilling features whne i
compiled the bash, could that be the problem?


--- Matthew Seaman <m.seaman@infracaninophile.co.uk>
wrote:
> On Thu, Sep 05, 2002 at 01:32:11PM -0700, mingo lu
> wrote:
> 
> > thanks. Well, the warnings aare gone, but the file
> > "su.gmon" is still there, i deleted so amny times
> ...
> 
> Looks like your su executable has been compiled with
> profiling
> support.  That's not a stunningly good idea for
> stuff in general use,
> especially for a setuid executable like su(1).  I
> assume that you're
> using su(1) to become root, which is why the .gmon
> file is always
> reappearing.
> 
> See gprof(1) for details of profiling executables.  
> 
> Is this the system su(1) or the su(1) that comes
> with GNU sh-utils? I
> ask simply because I can't see how you could
> accidentally turn on
> profiling for just su(1) in the main system without
> knowing about it.
> 
> 	Cheers
> 
> 	Matthew
> 
> -- 
> Dr Matthew J Seaman MA, D.Phil.                     
>  26 The Paddocks
>                                                     
>  Savill Way
>                                                     
>  Marlow
> Tel: +44 1628 476614                                
>  Bucks., SL7 1TH UK
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of
> the message


__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020907044324.8528.qmail>