Re: owner of /etc /boot and / (related to can't su thread???)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/8/05, Alexander Dalloz <ad+lists@xxxxxxxxx> wrote:
> Am Fr, den 08.07.2005 schrieb Shawn um 8:13:
> 
> > quite recently I mistakenly did something like chown -R jr /
> >
> > and got a few error messages before I could kill the process.
> >
> > Anyway, does this look odd for ownership
> >
> > [jr@bb497-175 root]$ ls -lat / | grep jr
> > drwxr-xr-x   81 jr root 12288 Jul  8 14:43 etc
> > drwxr-xr-x   23 jr root  4096 Jul  8 14:39 .
> > drwxr-xr-x   23 jr root  4096 Jul  8 14:39 ..
> > drwxr-xr-x    4 jr root  1024 Jul  8 08:28 boot
> >
> > I wonder if etc and boot shouldn't properly be owned by root?
> 
> Sure, they have to be root owned.
> 
> > Dare I try changing them back?
> 
> If you did really execute above command "chown -R jr /", then ownership
> change happened recursive so that too the owner below those dirs
> changed. You should use "find -uid N" to find out. All /boot content is
> root owned, nearly everything below /etc should so too.
> 
> > Shawn
> 
> Alexander
> 
> 
> --
> Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
> legal statement: http://www.uni-x.org/legal.html
> Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.11-1.35_FC2smp
> Serendipity 09:44:40 up 12 days, 16:36, load average: 2.87, 2.20, 1.09
> 
> 
> BodyID:71891065.2.n.logpart (stored separately)
> 
> --
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
> 
> 

Not everything under /et is root owned.  From an "everything" install:

# find /etc ! -user root -ls
231587    8 drwxr-xr-x   2 news     news         4096 Jun 22 20:56 /etc/news
231622    8 -rw-r--r--   1 news     news          114 Apr  7 06:36
/etc/news/subscriptions
231605   12 -rw-r-----   1 news     news         5353 Apr  7 06:36
/etc/news/incoming.conf
231617    8 -rw-r-----   1 news     news          597 Apr  7 06:36
/etc/news/passwd.nntp
231620    8 -rw-r--r--   1 news     news          116 Apr  7 06:36
/etc/news/sasl.conf
231599    8 -rw-r--r--   1 news     news          382 Apr  7 06:36
/etc/news/actsync.ign
231610    8 -rw-r--r--   1 news     news          185 Apr  7 06:36
/etc/news/motd.news
231613    8 -rw-r--r--   1 news     news          516 Apr  7 06:36
/etc/news/nnrpd.track
231598    8 -rw-r--r--   1 news     news          155 Apr  7 06:36
/etc/news/actsync.cfg
231601   96 -rw-r--r--   1 news     news        87179 Apr  7 06:36
/etc/news/control.ctl
231608    8 -rw-r--r--   1 news     news         2120 Apr  7 06:36
/etc/news/innwatch.ctl
231606    8 -rw-r-----   1 news     news         3179 Apr  7 06:36
/etc/news/innfeed.conf
231612   12 -rw-r--r--   1 news     news         4970 Apr  7 06:36
/etc/news/newsfeeds
231618    8 -rw-r-----   1 news     news         1758 Apr  7 06:36
/etc/news/radius.conf
231615   12 -rw-r--r--   1 news     news         4939 Apr  7 06:36
/etc/news/ovdb.conf
231603    8 -rw-r--r--   1 news     news          495 Apr  7 06:36
/etc/news/distrib.pats
231597    8 -rw-r--r--   1 news     news           41 Apr  7 06:36
/etc/news/.profile
231602    8 -rw-r--r--   1 news     news          859 Apr  7 06:36
/etc/news/cycbuff.conf
231619   12 -rw-r--r--   1 news     news         4743 Apr  7 06:36
/etc/news/readers.conf
231609    8 -rw-r--r--   1 news     news         1158 Apr  7 06:36
/etc/news/moderators
231611    8 -rw-r--r--   1 news     news          609 Apr  7 06:36
/etc/news/news2mail.cf
231616    8 -rw-r--r--   1 news     news          340 Apr  7 06:36
/etc/news/overview.fmt
231621    8 -rw-r--r--   1 news     news         1430 Apr  7 06:36
/etc/news/storage.conf
231607   80 -rw-r--r--   1 news     news        72399 Apr  7 06:36
/etc/news/innreport.conf
231614    8 -rw-r--r--   1 news     news          583 Apr  7 06:36
/etc/news/nntpsend.ctl
231604    8 -rw-r--r--   1 news     news         1424 Apr  7 06:36
/etc/news/expire.ctl
239053   12 -rw-r--r--   1 news     news         7323 Sep 21  2004
/etc/news/cleanfeed.conf
231600    8 -rw-r--r--   1 news     news          304 Apr  7 06:36
/etc/news/buffindexed.conf
435184    8 -rw-------   1 nut      root         1420 Mar 10 18:01
/etc/ups/upsset.conf
430426   16 -r--------   1 nut      nut         11131 Mar 10 18:01
/etc/ups/upsmon.conf
430427    8 -r--------   1 nut      nut          3884 Mar 10 18:01
/etc/ups/upssched.conf
2749624   12 -rwxr-x---   1 news     news         4385 Apr  7 06:36 /etc/rc.news
2749539    4 -rw-r--r--   1 amanda   disk            0 Apr 22 14:58
/etc/amandates
3304627    8 drwxr-xr-x   3 privoxy  privoxy      4096 Jun 22 21:05 /etc/privoxy
3304629   44 -rw-r--r--   1 privoxy  privoxy     39617 Mar  2 07:09
/etc/privoxy/default.action
3304632    8 -rw-r--r--   1 privoxy  privoxy      3366 Mar  2 07:09
/etc/privoxy/trust
3304628   36 -rw-r--r--   1 privoxy  privoxy     31285 Mar  2 07:09
/etc/privoxy/config
3435057    8 drwxr-xr-x   2 privoxy  privoxy      4096 Jun 22 21:05
/etc/privoxy/templates
3435083   12 -rw-r--r--   1 privoxy  privoxy      4452 Mar  2 07:09
/etc/privoxy/templates/show-request
3435064   12 -rw-r--r--   1 privoxy  privoxy      5012 Mar  2 07:09
/etc/privoxy/templates/cgi-error-modified
3435069   12 -rw-r--r--   1 privoxy  privoxy      6107 Mar  2 07:09
/etc/privoxy/templates/edit-actions-add-url-form
3435071    8 -rw-r--r--   1 privoxy  privoxy       602 Mar  2 07:09
/etc/privoxy/templates/edit-actions-for-url-filter
3435068    8 -rw-r--r--   1 privoxy  privoxy      3769 Mar  2 07:09
/etc/privoxy/templates/default
3435090   12 -rw-r--r--   1 privoxy  privoxy      5728 Mar  2 07:09
/etc/privoxy/templates/untrusted
3435082   12 -rw-r--r--   1 privoxy  privoxy      4730 Mar  2 07:09
/etc/privoxy/templates/no-such-domain
3435062    8 -rw-r--r--   1 privoxy  privoxy      3877 Mar  2 07:09
/etc/privoxy/templates/cgi-error-file
3435074   12 -rw-r--r--   1 privoxy  privoxy      5086 Mar  2 07:09
/etc/privoxy/templates/edit-actions-list-section
3435063   12 -rw-r--r--   1 privoxy  privoxy      4347 Mar  2 07:09
/etc/privoxy/templates/cgi-error-file-read-only
3435060   12 -rw-r--r--   1 privoxy  privoxy      4930 Mar  2 07:09
/etc/privoxy/templates/cgi-error-bad-param
3435079    8 -rw-r--r--   1 privoxy  privoxy      1243 Mar  2 07:09
/etc/privoxy/templates/mod-support-and-service
3435070   44 -rw-r--r--   1 privoxy  privoxy     37799 Mar  2 07:09
/etc/privoxy/templates/edit-actions-for-url
3435067   12 -rw-r--r--   1 privoxy  privoxy      4640 Mar  2 07:09
/etc/privoxy/templates/connect-failed
3435072   20 -rw-r--r--   1 privoxy  privoxy     12888 Mar  2 07:09
/etc/privoxy/templates/edit-actions-list
3435077   12 -rw-r--r--   1 privoxy  privoxy      6199 Mar  2 07:09
/etc/privoxy/templates/edit-actions-url-form
3435066   12 -rw-r--r--   1 privoxy  privoxy      4839 Mar  2 07:09
/etc/privoxy/templates/cgi-style.css
3435080    8 -rw-r--r--   1 privoxy  privoxy       296 Mar  2 07:09
/etc/privoxy/templates/mod-title
3435059   12 -rw-r--r--   1 privoxy  privoxy      4615 Mar  2 07:09
/etc/privoxy/templates/cgi-error-404
3435089    8 -rw-r--r--   1 privoxy  privoxy      3489 Mar  2 07:09
/etc/privoxy/templates/toggle-mini
3435065   12 -rw-r--r--   1 privoxy  privoxy      4965 Mar  2 07:09
/etc/privoxy/templates/cgi-error-parse
3435061   12 -rw-r--r--   1 privoxy  privoxy      4201 Mar  2 07:09
/etc/privoxy/templates/cgi-error-disabled
3435058   16 -rw-r--r--   1 privoxy  privoxy      9468 Mar  2 07:09
/etc/privoxy/templates/blocked
3435076   12 -rw-r--r--   1 privoxy  privoxy      5863 Mar  2 07:09
/etc/privoxy/templates/edit-actions-remove-url-form
3435084   20 -rw-r--r--   1 privoxy  privoxy     12471 Mar  2 07:09
/etc/privoxy/templates/show-status
3435073    8 -rw-r--r--   1 privoxy  privoxy      2230 Mar  2 07:09
/etc/privoxy/templates/edit-actions-list-button
3435086   12 -rw-r--r--   1 privoxy  privoxy      5316 Mar  2 07:09
/etc/privoxy/templates/show-url-info
3435087   12 -rw-r--r--   1 privoxy  privoxy      4859 Mar  2 07:09
/etc/privoxy/templates/show-version
3435078    8 -rw-r--r--   1 privoxy  privoxy       523 Mar  2 07:09
/etc/privoxy/templates/mod-local-help
3435088   12 -rw-r--r--   1 privoxy  privoxy      7153 Mar  2 07:09
/etc/privoxy/templates/toggle
3435075    8 -rw-r--r--   1 privoxy  privoxy      3583 Mar  2 07:09
/etc/privoxy/templates/edit-actions-list-url
3435085   12 -rw-r--r--   1 privoxy  privoxy      4180 Mar  2 07:09
/etc/privoxy/templates/show-status-file
3435081    8 -rw-r--r--   1 privoxy  privoxy       325 Mar  2 07:09
/etc/privoxy/templates/mod-unstable-warning
3304633   12 -rw-r--r--   1 privoxy  privoxy      5928 Mar  2 07:09
/etc/privoxy/user.action
3304630   36 -rw-r--r--   1 privoxy  privoxy     28943 Mar  2 07:09
/etc/privoxy/default.filter
3304631   12 -rw-r--r--   1 privoxy  privoxy      4122 Mar  2 07:09
/etc/privoxy/standard.action
2739632    8 -rw-r-----   1 ident    ident          83 Jun 22 20:21
/etc/ident.key
231369    8 drwxr-xr-x   3 amanda   disk         4096 Jun 22 20:51 /etc/amanda
231452    8 -rw-r--r--   1 amanda   disk          500 Apr 22 14:58
/etc/amanda/crontab.sample
231449    8 drwxr-xr-x   2 amanda   disk         4096 Jun 22 20:51
/etc/amanda/DailySet1
231451    8 -rw-r--r--   1 amanda   disk         2099 Apr 22 14:58
/etc/amanda/DailySet1/disklist
231450   24 -rw-r--r--   1 amanda   disk        17638 Apr 22 14:58
/etc/amanda/DailySet1/amanda.conf
3173299    8 drwxr-x--x   2 quagga   quagga       4096 Jun 22 20:50 /etc/quagga
3173308    8 -rw-r-----   1 quagga   quagga         31 Jun 22 20:50
/etc/quagga/zebra.conf
3173306    8 -rwxr-x---   1 quagga   quaggavt      128 Apr  4 14:17
/etc/quagga/vtysh.conf.sample


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux