Re: debian and ubuntu - answer from user not pretending to be guru
-----BEGIN PGP SIGNED MESSAGE-----
Daniel Burrows wrote:
> On Mon, May 04, 2009 at 08:51:28AM +0300, Andrei Popescu <firstname.lastname@example.org> was heard to say:
>> On Sun,03.May.09, 10:18:49, Douglas A. Tutty wrote:
>>> However, does the package management software (as aptitude does) store
>>> user preferences in the home directory? If, for example, you always run
>>> aptitude as yourself then give it the root password when prompted, it
>>> stores your preferences in your home directory. If you later run
>>> aptitude as root, those prefernces won't be active. Also, vis-versa.
>> It's a bit more weird than this (I thought about filing a whishlist
>> bug): when you start aptitude as user it uses his preferences, but as
>> soon as you switch to root (via the menu items or when prompted)
>> aptitude also switches to root's preferences. Kinda' confusing.
> There's a long and fairly tortured history behind which configuration
> aptitude uses when. Basically: if aptitude uses $HOME instead of
> changing to /root, then it'll end up sticking root-owned files inside
> the user's home directory, including files the user might not be able to
> read and/or delete.
But if they can run aptitude in the first place, surely they could
either su to root or use sudo to read or delete the files. Just my opinion.
Harry Rickards (a.k.a l33tmyst)
- -----BEGIN GEEK CODE BLOCK-----
GAT/GCM/GCS/GCC/GIT/GM d? s: a? C++++ UL++++ P- L+++ E--- W+++ N o K+
w--- O- M- V- PS+ PE Y+ PGP++ t 5 X R tv-- b+++ DI D---- G e* h! !r y?
- ------END GEEK CODE BLOCK------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----