TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: BOB PROHASKA
from: MARTIN GREGORIE
date: 2020-02-24 11:52:00
subject: Re: desktop switcheroo on

On Mon, 24 Feb 2020 01:56:16 +0000, bob prohaska wrote:

> Mike Easter  wrote:
>>
>> For some reason, in the 2020 raspbian groups pi doesn't list sudo, but
>> sudo works.  I didn't check the groups command w/ the 2019 v.
>>
>>
> Are you sure? I've not knowingly change anything, but
>
> pi@raspberrypi:/home/bob $  groups pi pi : pi adm dialout cdrom sudo
> audio video plugdev games users input netdev spi i2c gpio lpadmin
>
> There's also an /etc/sudoers file, but how that interacts with groups
> isn't clear to me. The pi account isn't mentioned in my /etc/sudoers
> either.
>
How did you update to Buster?
Clean install or via a version upgrade?
How will you do it in future?

It sounds yo me as though you did a clean install, otherwise all the
changes you made previously should still be there.

All my other systems run Fedora Linux, which was well behind Debian in
implementing a version upgrade process. Consequently, every 6 months I
had to do  ac lean install, which was a pain, if I was to run current
software. However, it did teach me a lesson, which is that its a very
good idea to make a copy of every file you change in /etc and its
subdirectories and keep the copies in one of your normal login user. AND
make regular backups of /home.

This way, after a clean upgrade you simply:

- restore your backup of /home

- add back the users and groups that aren't standard

- work through the /etc copy, diffing each file, altering your copy as
needed to include any new parameters and copy the result back to /etc/
overwriting the newly installed version and restarting the service it
configures or rebooting to check everythinf still works.

However, making a complete system backup and immediately before doing a
version upgrade is much easier: nonetheless, I still keep copies of
anything I change in  /etc.

There is a fuller description, along with suggestions about how to
include the contents of /usr/local in a backup of /home, here:

http://www.libelle-systems.com/free/

HTH

--
Martin    | martin at
Gregorie  | gregorie dot org

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.