Fazendo:
sudo chown -R root.root /etc
na linha de comando irá definir /etc
e tudo abaixo para o proprietário root
e grupo root
No entanto, no meu sistema (Ubuntu 12.04) nem tudo em /etc
está no grupo root
. A lista a seguir pode ajudar (gerada com sudo find /etc ! -gid 0 -ls | cut -c 29-
):
root dovecot 5348 Apr 8 2012 /etc/dovecot/dovecot-sql.conf.ext
root dovecot 782 Apr 8 2012 /etc/dovecot/dovecot-dict-sql.conf.ext
root dovecot 410 Apr 8 2012 /etc/dovecot/dovecot-db.conf.ext
root shadow 2009 Dec 23 16:10 /etc/shadow
root lp 4096 Mar 12 19:38 /etc/cups
root lp 540 Mar 12 19:38 /etc/cups/subscriptions.conf
root lp 108 Sep 1 2012 /etc/cups/classes.conf
root lp 4096 Oct 8 2012 /etc/cups/ppd
root lp 2751 Mar 12 07:38 /etc/cups/printers.conf
root lp 2751 Mar 11 21:06 /etc/cups/printers.conf.O
root lp 108 Jun 6 2012 /etc/cups/classes.conf.O
root lp 540 Mar 12 19:24 /etc/cups/subscriptions.conf.O
root lp 4096 Mar 28 2012 /etc/cups/ssl
root sasl 12288 Jun 6 2012 /etc/sasldb2
root daemon 144 Oct 25 2011 /etc/at.deny
root dialout 66 Oct 31 2012 /etc/wvdial.conf
root lightdm 0 Apr 21 2012 /etc/mtab.fuselock
root shadow 981 Feb 19 23:38 /etc/gshadow
root dovecot 1306 Jun 6 2012 /etc/ssl/certs/dovecot.pem
root ssl-cert 4096 Jun 6 2012 /etc/ssl/private
root dovecot 1704 Jun 6 2012 /etc/ssl/private/dovecot.pem
root ssl-cert 1704 Apr 21 2012 /etc/ssl/private/ssl-cert-snakeoil.key
root fuse 216 Oct 18 2011 /etc/fuse.conf
root dip 4096 Oct 31 2012 /etc/ppp/peers
root dip 1093 Mar 28 2012 /etc/ppp/peers/provider
root dip 4096 Mar 28 2012 /etc/chatscripts
root dip 656 Mar 28 2012 /etc/chatscripts/provider