Re: ping asking for root privilege.

2009-05-28 Thread Otto Moerbeek
On Thu, May 28, 2009 at 05:08:14AM -0300, Christiano Farina Haesbaert wrote:

> On Sat, May 23, 2009 at 11:11:40PM +0200, Otto Moerbeek wrote:
> > Upgrade by using the install media. It's much safer.
> > 
> 
> You mean I could get the iso mount, and run the install scripts ? or
> there is something better ?

yes, the install media can upgrade as well. Carefully study the first prompt.

-Otto



Re: ping asking for root privilege.

2009-05-28 Thread Christiano Farina Haesbaert
On Sat, May 23, 2009 at 11:11:40PM +0200, Otto Moerbeek wrote:
> Upgrade by using the install media. It's much safer.
> 

You mean I could get the iso mount, and run the install scripts ? or
there is something better ?

-- 
Christiano Farina HAESBAERT
Do NOT send me html mail.



Re: ping asking for root privilege.

2009-05-23 Thread Otto Moerbeek
On Sat, May 23, 2009 at 05:52:49PM -0300, Christiano Farina Haesbaert wrote:

> On Sat, May 23, 2009 at 04:51:04PM -0400, Mike Erdely wrote:
> > Is it safe to assume that you updated your base system using tar?
> > Did you forget the -p flag for tar?
> > /sbin/ping is an SUID binary.
> 
> Hmm, I might, I will have to untar again I believe, any other ideas ?

Upgrade by using the install media. It's much safer.

-Otto



Re: ping asking for root privilege.

2009-05-23 Thread Martin Toft
On Sat, May 23, 2009 at 10:54:41PM +0200, Martin Toft wrote:
> ping must be setuid:

...and owned by root. Mike is probably onto something ;-)



Re: ping asking for root privilege.

2009-05-23 Thread Christiano Farina Haesbaert
On Sat, May 23, 2009 at 04:51:04PM -0400, Mike Erdely wrote:
> Is it safe to assume that you updated your base system using tar?
> Did you forget the -p flag for tar?
> /sbin/ping is an SUID binary.

Hmm, I might, I will have to untar again I believe, any other ideas ?

Thanks.
-- 
Christiano Farina HAESBAERT
Do NOT send me html mail.



Re: ping asking for root privilege.

2009-05-23 Thread Martin Toft
On Sat, May 23, 2009 at 05:36:30PM -0300, Christiano Farina Haesbaert wrote:
> I've update my base system and now everytime I ping something it gives
> me a permission denied, if I run as root, averything is fine.

You have done something wrong during your update. ping must be setuid:

-r-sr-xr-x  1 root  bin  176888 May 10 04:39 /sbin/ping



Re: ping asking for root privilege.

2009-05-23 Thread Mike Erdely
On Sat, May 23, 2009 at 05:36:30PM -0300, Christiano Farina Haesbaert wrote:
> I've update my base system and now everytime I ping something it gives
> me a permission denied, if I run as root, averything is fine.

Is it safe to assume that you updated your base system using tar?
Did you forget the -p flag for tar?
/sbin/ping is an SUID binary.

-ME