Hi,

On 10/23/2013 01:33 PM, berenger.mo...@neutralite.org wrote:
[...]

Hopefully he'll remember that using super user powers have to be made
with care :)

He will. :)


Is there anything like "rpm -V" on the debian toolset? I'm trying to
avoid "punishing him" (further) with reinstall...

It does not do any control (which is the role of rpm -V if I understood
correctly the man), but apt-get --reinstall might help. But if he did
the changes on /etc, it won't work, because configuration files won't be
modified ( it removes and installs, not purge and installs ).

I already did something along the lines of...

cd /var/cache/apt/archives
ls -1 *.deb | xargs sudo dpkg -Gi

(after manually fixing ownerships on sudo binaries, working dir's, and config/data files)

... which apparently solves some of the problems, but is far from fixing everything (ownerships of /etc and /var being just two examples).


I think you might have solutions, but what has been changed, exactly?
Software binaries in /usr? Configuration files in /etc? Other stuff in
/var?

Upon further investigation, here's what was done:

sudo chown -R <someuser>:<somegroup> /


Maybe simply changing back the perms and ownerships might be simpler, too.

Thought about it, but I have no reference to mimic (meaning: I have no definite list of previous user and group ownerships to refer/compare to).


Guess I'll bite the bullet and reinstall the machine (with the added advantage of solving other - unrelated - problems).


Thank you for your help,
Mário Barbosa


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/5267cf3e.9050...@gmail.com

Reply via email to