Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Jun 2012 14:33:56 +0700
From:      Erich Dollansky <erichfreebsdlist@ovitrap.com>
To:        RetspaN Code <silent24_2007@yahoo.com>, freebsd-questions@freebsd.org
Subject:   Re: I have a problem to my server running under FreeBSD 8.1 p-1 release
Message-ID:  <201206231433.56299.erichfreebsdlist@ovitrap.com>
In-Reply-To: <1340436058.42871.YahooMailNeo@web190405.mail.sg3.yahoo.com>
References:  <1340379530.49640.YahooMailNeo@web190402.mail.sg3.yahoo.com> <201206231402.34973.erichfreebsdlist@ovitrap.com> <1340436058.42871.YahooMailNeo@web190405.mail.sg3.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On Saturday 23 June 2012 14:20:58 RetspaN Code wrote:
> 
> That was before. and i notice most of files on / directory is not own by
> wheel group. :( i try to chown but still not done. can u tell me why that
> happen?

all in / has to be owned by root:wheel.

Who else has had root access and might have left the company since then?

Erich
> 
> Thanks! Erich
> 
> Regards,
> 
> FredFoxs
> 
> 
> ________________________________
>  From: Erich Dollansky <erichfreebsdlist@ovitrap.com>
> To: RetspaN Code <silent24_2007@yahoo.com>; freebsd-questions@freebsd.org
> Sent: Saturday, June 23, 2012 3:02 PM
> Subject: Re: I have a problem to my server running under FreeBSD 8.1 p-1
> release
> 
> Hi,
> 
> On Saturday 23 June 2012 13:41:24 RetspaN Code wrote:
> > 49129472 drwxr-x--x   20 root  tonyx     512 Jun  5 13:00 ..
> 
> who belongs to this group?
> 
> > 49134586 -rw-r--r--    1 root  wheel    6206 Jun 13  2010 COPYRIGHT
> > 49134587 -rw-r--r--    1 root  wheel     442 Jun 13  2010 LOCKS
> > 49134588 -rw-r--r--    1 root  wheel    6659 Jun 13  2010 MAINTAINERS
> > 49134589 -rw-r--r--    1 root  wheel   12990 Jun 13  2010 Makefile
> > 49134590 -rw-r--r--    1 root  wheel   42773 Jun 13  2010 Makefile.inc1
> > 49134591 -rw-r--r--    1 root  wheel  230253 Jun 13  2010
> > ObsoleteFiles.inc 49134592 -rw-r--r--    1 root  wheel    3087 Jun 13 
> > 2010 README 49134593 -rw-r--r--    1 root  wheel   69779 Sep 20  2010
> > UPDATING 49698048 drwxr-xr-x   40 root  wheel    1024 Oct 28  2010 bin
> > 49133812 -rw-r--r--    1 root  wheel     443 May 28  2011 bind.patch
> > 49133815 -rw-r--r--    1 root  wheel     185 May 28  2011 bind.patch.asc
> > 49134439 -rw-r--r--    1 root  wheel    2832 Dec 23  2011 bind8.patch
> > 49133792 -rw-r--r--    1 root  wheel     885 Sep 20  2010 bzip2.patch
> 
> What are those files doing here?
> 
> > 49698539 drwxr-xr-x    8 root  wheel     512 Oct 28  2010 cddl
> > 49133586 -rw-r--r--    1 root  wheel    6549 Dec 23  2011 chroot8.patch
> 
> Again ...
> 
> > 49959740 drwxr-xr-x  208 root  wheel    4096 Jun  2 20:13 usr.sbin
> 
> The access rights seem all to be right.
> 
> > CyberTech# ls -lia /usr/
> > total 592
> > 49129472 drwxr-x--x  20 root  tonyx     512 Jun  5 13:00 .
> >
> >        2 drwx--x--x  23 root  wheel     512 Jun 18 21:45 ..
> >
> > 49133557 lrwxr-xr-x   1 root  tonyx      10 Oct 31  2010 X11R6 ->
> > /usr/local 49129473 drwxr-xr-x   2 root  1001     7680 Jun 18 21:40 bin
> > 49626757 drwxr-xr-x   2 root  wheel     512 Oct 28  2010 compat
> > 49653185 drwxr-xr-x  24 root  wheel    1024 Oct 28  2010 doc
> > 49626758 drwxr-xr-x   2 root  wheel     512 Oct 28  2010 games
> > 49270825 drwx--x--x  10 root  wheel     512 Jun 22 05:01 home
> 
> I would use 755 for home. You can keep here wheel as the group.
> 
> > 49129474 drwxr-xr-x  47 root  1001     5120 Oct 28  2010 include
> > 49129475 drwxr-xr-x   6 root  1001    11776 May 30 21:17 lib
> > 49129476 drwxr-xr-x   5 root  1001      512 Jul 18  2010 libdata
> > 49129477 drwxr-xr-x   5 root  1001     1536 Dec 28 05:45 libexec
> 
> What was group 1001? In /usr all should be owned by wheel.
> 
> > 49129478 drwxr-xr-x  18 root  wheel     512 May 31 22:21 local
> > 49626759 drwxr-xr-x   3 root  wheel     512 Oct 28  2010 obj
> > 49176576 drwx--x--x  69 root  wheel    1536 Nov  5  2010 ports
> 
> I would not set the access rights like this for ports but it should be no
> harm. Do you know why it is like this?
> 
> > 49158174 drwx--x--x   3 root  tonyx     512 May 20 07:56 rscr
> > 49134479 -rw-r--r--   1 root  tonyx  517120 Jun  5 13:00 rscr.tar
> 
> What is group tonyx?
> 
> > 49129481 drwx------  22 root  wheel    1024 Jan  7 02:27 src
> 
> The same as ports.
> 
> > 49698045 drwxr-xr-x   5 root  wheel     512 Oct 28  2010 sup
> > 49155246 drwxr-xr-x   2 root  tonyx     512 Oct 28  2010 uscr
> 
> Why is there a uscr there?
> 
> > CyberTech#
> 
> It seems that your are from a small island.
> 
> > Can you help me Sir to find out what is going on in my machine.
> 
> It will be difficult to fix this from distance!
> 
> Erich



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