patrickpcs
(usa Nenhuma)
Enviado em 18/06/2017 - 14:45h
Nem todos os arquivos dentro do diretório /etc pertencem ao usuário e grupo root, alguns arquivos pertencem a grupos especiais.
Aqui vai uma lista das propriedades de alguns arquivos do meu /etc.
Mas questão é....
É impossível recuperar o sistema? Não
Qual será mais rápido? Reinstalar provavelmente.
patrick@X550LN:/etc$ sudo ls -lha * | grep -v "root root" | grep -e "^[d-]"
-rw-r----- 1 root shadow 897 Feb 4 17:52 gshadow
-rw-r----- 1 root shadow 1.4K Jun 8 14:25 shadow
drwxr-s--- 2 root dip 4.0K Jul 20 2016 .
-rw-r----- 1 root dip 656 Jul 20 2016 provider
drwxr-xr-x 5 root lp 4.0K May 15 01:32 .
-rw------- 1 root lp 108 Apr 7 17:27 classes.conf
drwxr-xr-x 2 root lp 4.0K Apr 7 17:26 ppd
-rw------- 1 root lp 552 May 9 12:42 printers.conf
-rw------- 1 root lp 1.4K May 9 12:18 printers.conf.O
drwx------ 2 root lp 4.0K Jul 20 2016 ssl
-rw-r----- 1 root lp 1.3K May 15 01:32 subscriptions.conf
-rw-r----- 1 root lp 1.6K May 15 01:30 subscriptions.conf.O
dbus-1:
dconf:
default:
depmod.d:
dhcp:
dictionaries-common:
dkms:
dnsmasq.d:
dpkg:
drwxr-s--- 2 root dip 4.0K Jul 20 2016 peers
drwx--x--- 2 root ssl-cert 4.0K Feb 4 13:58 private
patrick@X550LN:/etc$ sudo ls -lha */* | grep -v "root root" | grep -e "^[d-]"
-rw-r----- 1 root dip 656 Jul 20 2016 chatscripts/provider
-rw------- 1 root lp 108 Apr 7 17:27 cups/classes.conf
-rw------- 1 root lp 552 May 9 12:42 cups/printers.conf
-rw------- 1 root lp 1.4K May 9 12:18 cups/printers.conf.O
-rw-r----- 1 root lp 1.3K May 15 01:32 cups/subscriptions.conf
-rw-r----- 1 root lp 1.6K May 15 01:30 cups/subscriptions.conf.O
drwxr-xr-x 5 root lp 4.0K May 15 01:32 ..
drwxr-xr-x 2 root lp 4.0K Apr 7 17:26 .
drwxr-xr-x 5 root lp 4.0K May 15 01:32 ..
-rw-r----- 1 root lp 27K Apr 7 17:26 Deskjet-6940-series.ppd
drwx------ 2 root lp 4.0K Jul 20 2016 .
drwxr-xr-x 5 root lp 4.0K May 15 01:32 ..
dbus-1/session.d:
dbus-1/system.d:
dconf/db:
dconf/profile:
dhcp/dhclient-enter-hooks.d:
dhcp/dhclient-exit-hooks.d:
dkms/template-dkms-mkdeb:
dpkg/dpkg.cfg.d:
dpkg/origins:
drwxr-s--- 2 root dip 4.0K Jul 20 2016 .
-rw-r----- 1 root dip 1.1K Jul 20 2016 provider
drwx--x--- 2 root ssl-cert 4.0K Feb 4 13:58 .
-rw-r----- 1 root ssl-cert 1.7K Feb 4 13:58 ssl-cert-snakeoil.key
patrick@X550LN:/etc$ sudo ls -lha */*/* | grep -v "root root" | grep -e "^[d-]"
-rw-r----- 1 root lp 27K Apr 7 17:26 cups/ppd/Deskjet-6940-series.ppd
-rw-r----- 1 root dip 1.1K Jul 20 2016 ppp/peers/provider
dconf/db/ibus.d:
dkms/template-dkms-mkdeb/debian:
dkms/template-dkms-mkdsc/debian:
patrick@X550LN:/etc$ sudo ls -lha */*/*/* | grep -v "root root" | grep -e "^[d-]"
patrick@X550LN:/etc$
http://goo.gl/g6NiFp