Re: All-in-One printer: HP OfficeJet 8012

2021-08-10 Thread Erwan David

Le 10/08/2021 à 21:48, Brian a écrit :

On Tue 10 Aug 2021 at 20:57:56 +0200, Erwan David wrote:


Le 10/08/2021 à 20:54, Brian a écrit :

On Tue 10 Aug 2021 at 19:01:30 +0100, Brad Rogers wrote:


On Tue, 10 Aug 2021 18:44:18 +0100
Brian  wrote:

Hello Brian,


Thank you for the response, Brad. I see the point about applet verus web

NP, Brian.


page. To my mind it is not a showstopper.

Nor to me.  It's simply convenient.


Enjoy the applet while you can.

Probably when I get a new machine.  Which should be some years away -
I've only had this one about a year.  Unless, of course, I'm forced to
remove HPLIP by some upgrade or other in the mean time.

As I've said previously, a future CUPS will not support printer drivers.
HPLIP provides printer drivers. There will be little point in Debian
packaging HPLIP, wouldn't you agree? But this is a few years away.

Stick with what you have (it works) but think about getting ahead of the
game.


We'll see at that time, especially since what I read from
https://wiki.debian.org/CUPSDriverlessPrinting makes it unable to handle
the cases where you must use a print serer or the one where you're not
on the same network as the printer.


Perhaps cups-browsed migt help you.



No all zeroconf based scheme is limited to the local (L2 network). And 
printer on a separate network is the standard setup in offices.




Re: apt-upgrade (Bullseye) shows 1 pkg not upgraded

2021-08-10 Thread David Wright
On Tue 10 Aug 2021 at 14:09:27 (-0400), Jim Popovitch wrote:
> On Tue, 2021-08-10 at 14:00 -0400, Greg Wooledge wrote:
> > On Tue, Aug 10, 2021 at 01:57:13PM -0400, Jim Popovitch wrote:
> > > ~$ apt-get -sV full-upgrade
> > > Reading package lists... Done
> > > Building dependency tree... Done
> > > Calculating upgrade... Done
> > > 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
> > 
> > Have you tried Google yet?
> > 
> > https://unix.stackexchange.com/questions/615676/0-upgraded-0-newly-installed-0-to-remove-and-1-not-upgraded-how-can-i-upgrade
> > 
> > https://www.linuxquestions.org/questions/debian-26/%271-package-not-upgraded%27-conundrum-4175620661/
> > 
> > Perhaps one of those will point the way.  (What do you have pinned,
> > and what third-party repositories do you have configured?)
> > 
> 
> Nothing pinned.  I did see the first link you posted, but not the 2nd
> one, although neither seems to apply to what I'm experiencing.  No
> pinning, no custom apt settings, etc.
> 
> $ cat /etc/apt/sources.list
> deb [trusted=yes] http://ftp.us.debian.org/debian bullseye main
> deb [trusted=yes] http://ftp.us.debian.org/debian bullseye-updates main
> deb [trusted=yes] http://security.debian.org bullseye-security main

deb [trusted=yes] http://security.debian.org/debian-security bullseye-security 
main

is what I would expect to see here. (I don't have a system availble to
test the effect of omitting debian-security)

> $ apt-get clean && apt-get update && apt-get upgrade && apt-get -sV
> full-upgrade
> Hit:1 http://security.debian.org bullseye-security InRelease
> Hit:2 http://ftp.us.debian.org/debian bullseye InRelease
> Hit:3 http://ftp.us.debian.org/debian bullseye-updates InRelease
> Reading package lists... Done
> Reading package lists... Done
> Building dependency tree... Done
> Calculating upgrade... Done
> 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
> Reading package lists... Done
> Building dependency tree... Done
> Calculating upgrade... Done
> 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
> 
> Thanks for at least offering suggestings, etc. 

Cheers,
David.



Re: Disk for a small server

2021-08-10 Thread Celejar
On Tue, 10 Aug 2021 17:35:32 -0700
David Christensen  wrote:

> On 8/10/21 12:56 PM, Dan Ritter wrote:
> > David Christensen wrote:
> >> On 8/10/21 8:04 AM, Leandro Noferini wrote:
> >>
> >> https://wiki.debian.org/ZFS

...

> >> - ECC memory is safer than non-ECC memory.
> > 
> > This is true, but there is nothing that makes ZFS more dangerous
> > than another filesystem using non-ECC memory.
> 
> 
> I think the amount of danger depends upon how you do your risk 
> assessment math.  I find used entry-level server hardware with ECC 
> memory to be desirable for additional reasons.

Dan's point is that while ECC memory is indeed safer than non-ECC
memory, this is true whether one is using ZFS or some other filesystem;
furthermore, with or without ECC memory, there's no reason to believe
that ZFS is less safe than the alternative.

See:

https://arstechnica.com/information-technology/2020/05/zfs-101-understanding-zfs-storage-and-performance/?comments=1&post=38877683
https://jrs-s.net/2015/02/03/will-zfs-and-non-ecc-ram-kill-your-data/

So while ECC memory is always good, it's not a consideration when
trying to choose between ZFS and other filesystems.

Celejar



Re: On improving mailing list [was: How to Boot Linux ISO Images Directly From Your Hard Drive Debian]

2021-08-10 Thread Polyna-Maude Racicot-Summerside
Hi,

On 2021-08-09 9:37 p.m., Andy Smith wrote:
> Hello,
> 
> On Mon, Aug 09, 2021 at 06:05:58PM -0700, Weaver wrote:
>>> So that's where I think the problems are and why I think it would be
>>> good to try separating the user support from the debate club.
>>
>> I'm afraid this conversation is a waste of time.
> 
Great proof of being open-minded when you consider a conversation "a
waste of time" because you ain't able to convince someone or make them
change their mind.

A bit of irony for someone hoping to make this a better place, with a
more inclusive toward beginner approach.

> I'm sorry you feel that way. It has felt quite frustrating having to
> repeat myself when I thought I was being clear about what I meant.
I think it would be hard to express yourself better than what you always
do in all the messages you sent, the "moderation" you do and the fire
you extinguish.

> But, I do believe that at least you have got across how you see the
> purpose and nature of debian-user, so we have at least seen some
> more perspectives - thanks!
> 
> My last reply was sent before I saw this one, and is not an attempt
> to prolong a conversation that you don't want to have.
> 
> Cheers,
> Andy
> 

Thanks Andy for the great work you do.
Thanks for the times you reminded myself, in a polite manner, that I may
have went off track with the words I used.

Sincerely,

-- 
Polyna-Maude R.-Summerside
-Be smart, Be wise, Support opensource development



OpenPGP_signature
Description: OpenPGP digital signature


Re: Disk for a small server

2021-08-10 Thread David Christensen

On 8/10/21 12:52 PM, to...@tuxteam.de wrote:

On Tue, Aug 10, 2021 at 12:48:24PM -0700, David Christensen wrote:

On 8/10/21 8:04 AM, Leandro Noferini wrote:

Ciao a tutti,

I have a little server (debian stable on raspberry) used by my family and a
little set of people (~10) with services like nextcloud (~100GB growing) and
some more.


[...]


https://wiki.debian.org/ZFS


Sounds a bit... heavy for a Raspi, IMHO.



The RPi 4 Model B with 8 GB of memory should be enough:

https://www.raspberrypi.org/products/raspberry-pi-4-model-b/


It would be interesting to see some benchmarks, notably on older/ lesser 
models.



David



Re: Disk for a small server

2021-08-10 Thread David Christensen

On 8/10/21 12:56 PM, Dan Ritter wrote:

David Christensen wrote:

On 8/10/21 8:04 AM, Leandro Noferini wrote:

https://wiki.debian.org/ZFS


But:

- ZFS wants lots of memory.  The rule of thumb is 5 GB of memory for every 1
TB of storage.


This is a myth.



Oracle says [1]:

"... for good ZFS performance, use at least one GB or more of memory."


The FreeBSD "ZFS Tuning Guide" says [2]:

"To use ZFS, at least 1 GB of memory is recommended (for all
architectures) but more is helpful as ZFS needs *lots* of memory."

"There are some resources that suggest that one needs 2GB per TB of
storage with deduplication ... . In practice with FreeBSD, based on
empirical testing and additional reading, it's closer to 5GB per TB."


(I use deduplication, so I recalled the "5 GB per TB".)


STFW there are other recommendations.


Looking ahead, I agree that deduplication does not make sense for the 
OP's use-case.  So, 1 GB of memory is supposed to be enough.  Benchmarks 
would be informative, but STFW I am unable to find such.




- ECC memory is safer than non-ECC memory.


This is true, but there is nothing that makes ZFS more dangerous
than another filesystem using non-ECC memory.



I think the amount of danger depends upon how you do your risk 
assessment math.  I find used entry-level server hardware with ECC 
memory to be desirable for additional reasons.




- "dedup" is heavyweight, slow on HDD's (due to seek latency), and not
recommended for general workloads.


Not stated strongly enough. Nobody should turn on dedup; people
who think they are experimenting should definitely not turn on
dedup; only people who have a completely sacrificial system and
a good knowledge of the data to be stored should consider dedup.



This article has some good information:

https://www.truenas.com/docs/references/zfsdeduplication/


I have been running deduplication for several years on my SOHO servers, 
which have HDD's and SATA3 SSD caches.  Normal read/ write operations 
can fill the Gigabit network, but replication is very slow (5.8 MB/s for 
a recent replication job).



David


[1] https://docs.oracle.com/cd/E18752_01/html/819-5461/gbgxg.html

[2] https://wiki.freebsd.org/ZFSTuningGuide



Re: apt-upgrade (Bullseye) shows 1 pkg not upgraded

2021-08-10 Thread Jim Popovitch
On Tue, 2021-08-10 at 18:59 -0400, Greg Wooledge wrote:
> On Wed, Aug 11, 2021 at 08:27:03AM +1000, David wrote:
> > On Wed, 11 Aug 2021 at 03:32, Jim Popovitch  wrote:
> > 
> > > apt-upgrade (Bullseye) shows 1 pkg not upgraded
> > 
> > > How can I determine what the "1 not upgraded" package might be?
> > 
> > Hi, I dunno if this message will be of any use, because other
> > suggestions indicate that this might be due to pinning or other
> > issues that I have no knowledge of.
> 
> The OP claimed they have nothing pinned, but presented no evidence to
> support this claim.  Perhaps they thought that because they didn't
> explicitly *pin* anything themselves, there must not be anything
> pinned on their system.  So why bother looking?
> 
> They should at least look.

I did.

> 
> grep -ri pin /etc/apt

That's exactly how I did look.

> 
> would be a reasonable starting point.
> 
> (Also, catting /etc/apt/sources.list is not sufficient to show the
> absence of third-party repositories.  There's also a sources.list.d
> directory.)

If there was anything in sources.list.d I would have showed it.

Absence of absence is something no one should ponder.

-Jim P.





Re: apt-upgrade (Bullseye) shows 1 pkg not upgraded

2021-08-10 Thread Greg Wooledge
On Wed, Aug 11, 2021 at 08:27:03AM +1000, David wrote:
> On Wed, 11 Aug 2021 at 03:32, Jim Popovitch  wrote:
> 
> > apt-upgrade (Bullseye) shows 1 pkg not upgraded
> 
> > How can I determine what the "1 not upgraded" package might be?
> 
> Hi, I dunno if this message will be of any use, because other
> suggestions indicate that this might be due to pinning or other
> issues that I have no knowledge of.

The OP claimed they have nothing pinned, but presented no evidence to
support this claim.  Perhaps they thought that because they didn't
explicitly *pin* anything themselves, there must not be anything
pinned on their system.  So why bother looking?

They should at least look.

grep -ri pin /etc/apt

would be a reasonable starting point.

(Also, catting /etc/apt/sources.list is not sufficient to show the
absence of third-party repositories.  There's also a sources.list.d
directory.)



Re: Disk for a small server

2021-08-10 Thread Polyna-Maude Racicot-Summerside
Hi,

On 2021-08-10 2:06 p.m., Leandro Noferini wrote:
> On mar, ago 10, 2021 at 05:06:00 +, ghe2001 wrote:
> 
>> On Tuesday, August 10, 2021 9:04 AM, Leandro Noferini 
>>  wrote:
>>
>>> I have a little server (debian stable on raspberry) used by my family and a
>>> little set of people (~10) with services like nextcloud (~100GB growing) and
>>> some more.
>>>
>>> This server has an external disk for the data, disk that is becoming too 
>>> little
>>> so I would like to change it with a bigger one (1TB) and I would like to 
>>> arrange
>>> this new disk in a confgurable fashion, so I would change the partitions on 
>>> the
>>> way.
>>
>> I have a 1T 2.5", USB disk on on my 'Pi server.  It works and fits nicely
>> under the RPi.  The 4s have USB3 ports.
>>
>> It's all backed up to tape regularly...
> 
> Ok, but I need to divide some directories to avoid the fullfilling of the 
> disk.
> 
Ever had the idea of using quota system ?
> Do you have only one filesystem in your disk?
> 

-- 
Polyna-Maude R.-Summerside
-Be smart, Be wise, Support opensource development



OpenPGP_signature
Description: OpenPGP digital signature


Re: All-in-One printer: HP OfficeJet 8012

2021-08-10 Thread Polyna-Maude Racicot-Summerside
Hi,

On 2021-08-10 10:14 a.m., Nicolas George wrote:
> Hi.
> 
> We need to replace an all-in-one printer-scanner, a HP Deskjet 3054A.
> 
> Based on past experience, I am favoring HP, because AFAIK they mostly
> play fair about Libre drivers, and their ink is too expensive but not
> insanely so. The HP OfficeJet 8012 seems the most interesting available
> at my preferred vendor (LDLC).
> 
> As far as I can see, it would be supported through driverless printing
> and sane-hpaio. Am I mistaken?
> 
> The vendor has other models has other models by Epson, Canon and
> Brother. I remember these brands have caused trouble to users of Libre
> software, unlike HP who develops its own Libre tools. I want to buy
> according to my ethics. Has one of them turned its policy around enough
> to warrant considering it?
> 
> Is there any other remark you may want to do about it?
> 
I'll add, here's the Mopria specs
https://mopria.org/spec-download

> (If your remark is along the lines: "not inkjet, laser" or "not
> all-in-one, separate devices", save your time, I have already heard the
> arguments and I know the constraints I am working with.)
> 
> Thanks in advance.
> 
> Regards,
> 

-- 
Polyna-Maude R.-Summerside
-Be smart, Be wise, Support opensource development



OpenPGP_signature
Description: OpenPGP digital signature


Re: All-in-One printer: HP OfficeJet 8012

2021-08-10 Thread Polyna-Maude Racicot-Summerside
Hi,

On 2021-08-10 10:14 a.m., Nicolas George wrote:
> Hi.
> 
> We need to replace an all-in-one printer-scanner, a HP Deskjet 3054A.
> 
> Based on past experience, I am favoring HP, because AFAIK they mostly
> play fair about Libre drivers, and their ink is too expensive but not
> insanely so. The HP OfficeJet 8012 seems the most interesting available
> at my preferred vendor (LDLC).
> 
> As far as I can see, it would be supported through driverless printing
> and sane-hpaio. Am I mistaken?
> 
> The vendor has other models has other models by Epson, Canon and
> Brother. I remember these brands have caused trouble to users of Libre
> software, unlike HP who develops its own Libre tools. I want to buy
> according to my ethics. Has one of them turned its policy around enough
> to warrant considering it?
> 
> Is there any other remark you may want to do about it?
> 
I'm using a Xerox B205 MFC and it's fully supported. Yes it's laser but
the reason I am writing this message regard something else.

It's the support of MOPRIA.
Even if it's mostly made for Android, what it does is offer a discovery
and printing protocol compatible with all CUPS system (will publish IP
endpoint that support PostScript, PCL and PDF, all depending on the
printer but at least one of them). Regarding the scanner, it will
support sending by email thru the use of a SMTP server account.

So I think we can say these devices will be supported by Linux (and Debian).

Here's the link for Mopria association.

https://mopria.org/certified-products

Even if my model is not listed there (B205), on the Xerox website it
says that it's supported.

> (If your remark is along the lines: "not inkjet, laser" or "not
> all-in-one, separate devices", save your time, I have already heard the
> arguments and I know the constraints I am working with.)
> 
> Thanks in advance.
> 
Hope this shine a light to something nice to be investigated.
> Regards,
> 

-- 
Polyna-Maude R.-Summerside
-Be smart, Be wise, Support opensource development



OpenPGP_signature
Description: OpenPGP digital signature


Re: apt-upgrade (Bullseye) shows 1 pkg not upgraded

2021-08-10 Thread David
On Wed, 11 Aug 2021 at 03:32, Jim Popovitch  wrote:

> apt-upgrade (Bullseye) shows 1 pkg not upgraded

> How can I determine what the "1 not upgraded" package might be?

Hi, I dunno if this message will be of any use, because other
suggestions indicate that this might be due to pinning or other
issues that I have no knowledge of.

But something simple that I would check in this situation would
be that I would run interactive 'aptitude' as root.

If it starts up with its "Upgradeable Packages" top line
highlighted then you could press the '[' key to expand that
line and it will show the packages in question.

If not then just press 'q' to close the tab and quit.

By the way, I'm giving the keyboard hints in case you have
not used it before, to save you reading the manual,



RE: Relaciones Laborales Actualizadas

2021-08-10 Thread Carlos Alberto Martinez Collado

Cambios y actualizaciones de la relación laboral y del contrato individual de 
empleados.
 
Especialista en Relaciones Laborales:
Contratos, Sindicatos y el Nuevo Sistema de Justicia Laboral STPS
Online en Vivo / 18 y 19 de Agosto 2021
 
A partir de la ya conocida Reforma Laboral se han ido incorporando nuevos 
procedimientos y normas que han cambiado las reglas del juego en el ámbito 
laboral en México. Participa en este WORKHOP y conviértete en un EXPERTO en 
RELACIONES LABORALES, CONTRATOS, SINDICATOS Y EN EL NUEVO SISTEMA DE JUSTICIA 
LABORAL.

IMPARTIDO POR EL RECONOCIDO MAESTRO EN DERECHO LABORAL SALVADOR GONZÁLEZ.

DESCARGAR FOLLETO COMPLETO
>>> Recibir toda la información a través de WhatsApp

O para información mucho más detallada comuníquese con alguno de nuestros 
ejecutivos al

Ciudad de México / (55) 2450 6187
Monterrey, N.L. / (81) 2974 7731
Guadalajara, Jal. / (33) 2005 0994


























Este boletín informativo tiene como objetivo generar valor en usted y en su 
Empresa. Si usted desea dejar de recibir de manera permanente este tipo de 
comunicados conteste con la palabra BAJALABORAL671. O en su defecto haga click 
en el siguiente enlace: unsubscribe from this list


Re: Disk for a small server

2021-08-10 Thread Thomas Amm
On Tue, 2021-08-10 at 21:08 +0200, Leandro Noferini wrote:
> On mar, ago 10, 2021 at 02:59:37 -0400, rhkra...@gmail.com wrote:
> > On Tuesday, August 10, 2021 02:06:46 PM Leandro Noferini wrote:
> > > Ok, but I need to divide some directories to avoid the
> > > fullfilling of the
> > > disk.
> > > 
> > > Do you have only one filesystem in your disk?
> > 
> > Is your issue / question how to put multiple partitions on the
> > disk?  Or how
> > to allow future rearrangement of partitions as user's needs change.
> 
> Quite the second: I would like to know if there is a good solution to
> use a
> complete disk with different partitions to use with different file
> systems for
> different uses, knowing that I could have to change the dimensions of
> these
> partitions in the time.
> 
> > In general, the answer might be LVM (which I don't use so won't
> > attempt to 
> > explain how) or maybe simply how to put multiple partitions on a
> > disk?
> 
> Yes I know (a little) lvm but I would like to know if there are
> different/better
> solutions.
> 
> > If you answer those questions, I'm sure somebody will be able to
> > give you good 
> > advice.
> > 
> > (Aside: You can put multiple partitions on a disk, and they don't
> > all have to 
> > be part of the standard Linux filesystem hierarchy (e.g., part of
> > /home) -- for 
> > what I consider good reasons, I have multiple top level directories
> > / 
> > partitions / mount points (can all be explained) with names like
> > /, 
> > /, ... (vs. /home/, /home/ ...)
> 
> I need the standard file system hierarchy.
> 

Heavens, why ask complexity to a simple question? 'cause we can - why
else?

 Nevertheless, you've given the answer yourself in your first mail.
LVM2 is the current solution for logical volume management and it does
what it is expected to do. Whatever file systems, partitions, logical
volumes or arbitrary stuff like raw partitions, empty spaces or spares
you want, you can put them on LVM logical volumes and wipe them off
there if you want so.

Cheers,

Tom



Re: Disk for a small server

2021-08-10 Thread Dan Ritter
David Christensen wrote: 
> On 8/10/21 8:04 AM, Leandro Noferini wrote:
> 
> https://wiki.debian.org/ZFS
> 
> 
> But:
> 
> - ZFS wants lots of memory.  The rule of thumb is 5 GB of memory for every 1
> TB of storage.

This is a myth.

> - ECC memory is safer than non-ECC memory.

This is true, but there is nothing that makes ZFS more dangerous
than another filesystem using non-ECC memory.

> - Consider getting two HDD's and creating a mirror.

Generally a good idea.

> - "compression=on" is lightweight and generally useful.

Also a good idea.

> - "dedup" is heavyweight, slow on HDD's (due to seek latency), and not
> recommended for general workloads.

Not stated strongly enough. Nobody should turn on dedup; people
who think they are experimenting should definitely not turn on
dedup; only people who have a completely sacrificial system and
a good knowledge of the data to be stored should consider dedup.


> - Consider getting a NAS or an entry-level server.

A Raspberry Pi with two disks *is* a NAS or an entry-level
server.

It's not an awesome one, but it is certainly a cheap one and
useful for many purposes.

-dsr-



Re: Disk for a small server

2021-08-10 Thread tomas
On Tue, Aug 10, 2021 at 12:48:24PM -0700, David Christensen wrote:
> On 8/10/21 8:04 AM, Leandro Noferini wrote:
> >Ciao a tutti,
> >
> >I have a little server (debian stable on raspberry) used by my family and a
> >little set of people (~10) with services like nextcloud (~100GB growing) and
> >some more.

[...]

> https://wiki.debian.org/ZFS

Sounds a bit... heavy for a Raspi, IMHO.

Cheers
 - t


signature.asc
Description: Digital signature


Re: Disk for a small server

2021-08-10 Thread David Christensen

On 8/10/21 8:04 AM, Leandro Noferini wrote:

Ciao a tutti,

I have a little server (debian stable on raspberry) used by my family and a
little set of people (~10) with services like nextcloud (~100GB growing) and
some more.

This server has an external disk for the data, disk that is becoming too little
so I would like to change it with a bigger one (1TB) and I would like to arrange
this new disk in a confgurable fashion, so I would change the partitions on the
way.

I remained to lvm2: there is something newer/better?



https://wiki.debian.org/ZFS


But:

- ZFS wants lots of memory.  The rule of thumb is 5 GB of memory for 
every 1 TB of storage.


- ECC memory is safer than non-ECC memory.

- Consider getting two HDD's and creating a mirror.

- "compression=on" is lightweight and generally useful.

- "dedup" is heavyweight, slow on HDD's (due to seek latency), and not 
recommended for general workloads.


- Consider getting a NAS or an entry-level server.


David



Re: All-in-One printer: HP OfficeJet 8012

2021-08-10 Thread Brian
On Tue 10 Aug 2021 at 20:57:56 +0200, Erwan David wrote:

> Le 10/08/2021 à 20:54, Brian a écrit :
> > On Tue 10 Aug 2021 at 19:01:30 +0100, Brad Rogers wrote:
> >
> >> On Tue, 10 Aug 2021 18:44:18 +0100
> >> Brian  wrote:
> >>
> >> Hello Brian,
> >>
> >>> Thank you for the response, Brad. I see the point about applet verus web
> >> NP, Brian.
> >>
> >>> page. To my mind it is not a showstopper.
> >> Nor to me.  It's simply convenient.
> >>
> >>> Enjoy the applet while you can.
> >> Probably when I get a new machine.  Which should be some years away -
> >> I've only had this one about a year.  Unless, of course, I'm forced to
> >> remove HPLIP by some upgrade or other in the mean time.
> > As I've said previously, a future CUPS will not support printer drivers.
> > HPLIP provides printer drivers. There will be little point in Debian
> > packaging HPLIP, wouldn't you agree? But this is a few years away.
> >
> > Stick with what you have (it works) but think about getting ahead of the
> > game.
> >
> We'll see at that time, especially since what I read from
> https://wiki.debian.org/CUPSDriverlessPrinting makes it unable to handle
> the cases where you must use a print serer or the one where you're not
> on the same network as the printer.

Perhaps cups-browsed migt help you.

-- 
Brian.



Re: Disk for a small server

2021-08-10 Thread Leandro Noferini
On mar, ago 10, 2021 at 02:59:37 -0400, rhkra...@gmail.com wrote:
> On Tuesday, August 10, 2021 02:06:46 PM Leandro Noferini wrote:
> > Ok, but I need to divide some directories to avoid the fullfilling of the
> > disk.
> > 
> > Do you have only one filesystem in your disk?
> 
> Is your issue / question how to put multiple partitions on the disk?  Or how
> to allow future rearrangement of partitions as user's needs change.

Quite the second: I would like to know if there is a good solution to use a
complete disk with different partitions to use with different file systems for
different uses, knowing that I could have to change the dimensions of these
partitions in the time.

> In general, the answer might be LVM (which I don't use so won't attempt to 
> explain how) or maybe simply how to put multiple partitions on a disk?

Yes I know (a little) lvm but I would like to know if there are different/better
solutions.

> If you answer those questions, I'm sure somebody will be able to give you 
> good 
> advice.
> 
> (Aside: You can put multiple partitions on a disk, and they don't all have to 
> be part of the standard Linux filesystem hierarchy (e.g., part of /home) -- 
> for 
> what I consider good reasons, I have multiple top level directories / 
> partitions / mount points (can all be explained) with names like /, 
> /, ... (vs. /home/, /home/ ...)

I need the standard file system hierarchy.

-- 
Ciao
leandro



Re: apt-upgrade (Bullseye) shows 1 pkg not upgraded

2021-08-10 Thread didier gaumet
Hello,

If for example you have set up unattended-upgrades and installed apt-
listbugs, then when unattended-upgrades runs, apt-listbugs
automatically pins (-3) upgradable packages that are affected by
bugs in order for them to be hold until a fix. They are automatically
de-pinned when bugs are fixed. Such pinned packages appear in
/etc/apt/preferences.d/apt-listbugs
(look at apt-listbugs manpage for details)




Re: Disk for a small server

2021-08-10 Thread rhkramer
On Tuesday, August 10, 2021 02:06:46 PM Leandro Noferini wrote:
> Ok, but I need to divide some directories to avoid the fullfilling of the
> disk.
> 
> Do you have only one filesystem in your disk?

Is your issue / question how to put multiple partitions on the disk?  Or how 
to allow future rearrangement of partitions as user's needs change.

In general, the answer might be LVM (which I don't use so won't attempt to 
explain how) or maybe simply how to put multiple partitions on a disk?

If you answer those questions, I'm sure somebody will be able to give you good 
advice.

(Aside: You can put multiple partitions on a disk, and they don't all have to 
be part of the standard Linux filesystem hierarchy (e.g., part of /home) -- for 
what I consider good reasons, I have multiple top level directories / 
partitions / mount points (can all be explained) with names like /, 
/, ... (vs. /home/, /home/ ...)



Re: All-in-One printer: HP OfficeJet 8012

2021-08-10 Thread Erwan David
Le 10/08/2021 à 20:54, Brian a écrit :
> On Tue 10 Aug 2021 at 19:01:30 +0100, Brad Rogers wrote:
>
>> On Tue, 10 Aug 2021 18:44:18 +0100
>> Brian  wrote:
>>
>> Hello Brian,
>>
>>> Thank you for the response, Brad. I see the point about applet verus web
>> NP, Brian.
>>
>>> page. To my mind it is not a showstopper.
>> Nor to me.  It's simply convenient.
>>
>>> Enjoy the applet while you can.
>> Probably when I get a new machine.  Which should be some years away -
>> I've only had this one about a year.  Unless, of course, I'm forced to
>> remove HPLIP by some upgrade or other in the mean time.
> As I've said previously, a future CUPS will not support printer drivers.
> HPLIP provides printer drivers. There will be little point in Debian
> packaging HPLIP, wouldn't you agree? But this is a few years away.
>
> Stick with what you have (it works) but think about getting ahead of the
> game.
>
We'll see at that time, especially since what I read from
https://wiki.debian.org/CUPSDriverlessPrinting makes it unable to handle
the cases where you must use a print serer or the one where you're not
on the same network as the printer.




Re: All-in-One printer: HP OfficeJet 8012

2021-08-10 Thread Brian
On Tue 10 Aug 2021 at 19:56:21 +0200, Erwan David wrote:

> Le 10/08/2021 à 16:59, Brian a écrit :
> >
> > CUPS will cease to support drivers and PPDs in the coming years. Users
> > may as well come to terms with driverless printing. HPLIP and other
> > vendor drivers will not have any place in a future CUPS. 
> >
> 
> Do you have some pointers to what we must do to use this driverless
> printing and scanning ?

You could read our wiki.

-- 
Brian.



Re: All-in-One printer: HP OfficeJet 8012

2021-08-10 Thread Brian
On Tue 10 Aug 2021 at 19:01:30 +0100, Brad Rogers wrote:

> On Tue, 10 Aug 2021 18:44:18 +0100
> Brian  wrote:
> 
> Hello Brian,
> 
> >Thank you for the response, Brad. I see the point about applet verus web
> 
> NP, Brian.
> 
> >page. To my mind it is not a showstopper.
> 
> Nor to me.  It's simply convenient.
> 
> >Enjoy the applet while you can.
> 
> Probably when I get a new machine.  Which should be some years away -
> I've only had this one about a year.  Unless, of course, I'm forced to
> remove HPLIP by some upgrade or other in the mean time.

As I've said previously, a future CUPS will not support printer drivers.
HPLIP provides printer drivers. There will be little point in Debian
packaging HPLIP, wouldn't you agree? But this is a few years away.

Stick with what you have (it works) but think about getting ahead of the
game.

-- 
Brian.



Re: Disk for a small server

2021-08-10 Thread ghe2001
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256




‐‐‐ Original Message ‐‐‐
On Tuesday, August 10, 2021 12:06 PM, Leandro Noferini 
 wrote:

> Ok, but I need to divide some directories to avoid the fullfilling of the 
> disk.
>
> Do you have only one filesystem in your disk?

3 partitions, with the same filesystem (ext4) on all of them.  /var/log in 
there, as is an empty partition, and one where I keep backups of a shopping 
center in Texas (I'm in Colorado).

--
Glenn English
>
-BEGIN PGP SIGNATURE-
Version: ProtonMail

wsBzBAEBCAAGBQJhEshDACEJEJ/XhjGCrIwyFiEELKJzD0JScCVjQA2Xn9eG
MYKsjDK8bgf9H9NRbfDZTESFPEvWlqjtFA/tfMM90xhSigwX6BUHZ8hSEZ7H
AHbJ732tPsXd7g2Zh2hZ4jYCkxALloqRM/3VzoxRvzkb81xl3ROKg8+vx8te
5NllapMHHvMukEucmuppB0NIErWStLWs4Jd8af5H51e605Cgh7RJsWgbcK3A
Tz1EkPaMW9klOR1Fa4lNwNu3gBPnsOHsRTnfvi2HcHAuzubycNJWofrPPQfW
fSlcy1NF3fO7ckAlpE5oS7LQuaRzJcMPoRkxMG/M1ktT2i5LxkDuubnlYZP4
JoxAbxgoeYn4fZs6VRlZZTxu33DdELbuzAacgHxQoQ+ltul2rfePqg==
=d0sL
-END PGP SIGNATURE-



Re: Disk for a small server

2021-08-10 Thread Leandro Noferini
On mar, ago 10, 2021 at 05:06:00 +, ghe2001 wrote:

> On Tuesday, August 10, 2021 9:04 AM, Leandro Noferini 
>  wrote:
> 
> > I have a little server (debian stable on raspberry) used by my family and a
> > little set of people (~10) with services like nextcloud (~100GB growing) and
> > some more.
> >
> > This server has an external disk for the data, disk that is becoming too 
> > little
> > so I would like to change it with a bigger one (1TB) and I would like to 
> > arrange
> > this new disk in a confgurable fashion, so I would change the partitions on 
> > the
> > way.
> 
> I have a 1T 2.5", USB disk on on my 'Pi server.  It works and fits nicely
> under the RPi.  The 4s have USB3 ports.
> 
> It's all backed up to tape regularly...

Ok, but I need to divide some directories to avoid the fullfilling of the disk.

Do you have only one filesystem in your disk?

-- 
Ciao
leandro



[OFFTOPIC] Editing a file (was: percent char '%' in sudoers file)

2021-08-10 Thread Stefan Monnier
Roger Price [2021-08-10 11:11:24] wrote:
> On Tue, 10 Aug 2021, Bob Bernstein wrote:
>> Full disclosure: In a typical Bob fit of impulsivity I, yes, edited this
>> file using 'sudo nsno /etc/sudoers'.
> My impulse would be to use  VISUAL=/usr/bin/emacs visudo -f /etc/sudoers

You guys have amazing impulse control.
My fingers would have typed `e /etc/suders` before I would have had
a chance to do anything about it.


Stefan


PS: Of course the `e` above stands for Emacs, tho my root user has it
redirected to Zile.



Re: apt-upgrade (Bullseye) shows 1 pkg not upgraded

2021-08-10 Thread Jim Popovitch
On Tue, 2021-08-10 at 20:03 +0200, john doe wrote:
> On 8/10/2021 7:57 PM, Jim Popovitch wrote:
> > On Tue, 2021-08-10 at 19:49 +0200, john doe wrote:
> > > On 8/10/2021 7:32 PM, Jim Popovitch wrote:
> > > > How can I determine what the "1 not upgraded" package might be?
> > > > 
> > > > 
> > > > ~$ apt-get update
> > > > Hit:1 http://ftp.us.debian.org/debian bullseye InRelease
> > > > Hit:2 http://security.debian.org bullseye-security InRelease
> > > > Hit:3 http://ftp.us.debian.org/debian bullseye-updates InRelease
> > > > Reading package lists... Done
> > > > 
> > > > ~$ apt-get upgrade
> > > > Reading package lists... Done
> > > > Building dependency tree... Done
> > > > Calculating upgrade... Done
> > > > 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
> > > > 
> > > > 
> > > > ~$ apt-get dist-upgrade
> > > > Reading package lists... Done
> > > > Building dependency tree... Done
> > > > Calculating upgrade... Done
> > > > 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
> > > > 
> > > 
> > > $ apt-get -sV full-upgrade
> > > 
> > > 
> > > -s = simulate
> > > -V = verbose
> > 
> > Thanks, unfortunately still nothing. :(
> > 
> > ~$ apt-get -sV full-upgrade
> > Reading package lists... Done
> > Building dependency tree... Done
> > Calculating upgrade... Done
> > 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
> > 
> > 
> > I'm beginning to wonder if this is just a bug in apt-get, I know of
> > nothing on this small server that has a pending upgrade.
> > 
> 
> As the cmd works for me I'm not sure this is a bug in 'apt-get' but
> maybe a pkg on 'hold'.

No pining, nothing on hold that I can see, no custom config, etc.  apt-
get works for me, i can install and --purge remove, etc, just that one
dangling "not upgraded" status that befuddles me.

Thanks,

-Jim P.




Re: All-in-One printer: HP OfficeJet 8012

2021-08-10 Thread Brad Rogers
On Tue, 10 Aug 2021 18:44:18 +0100
Brian  wrote:

Hello Brian,

>Thank you for the response, Brad. I see the point about applet verus web

NP, Brian.

>page. To my mind it is not a showstopper.

Nor to me.  It's simply convenient.

>Enjoy the applet while you can.

Probably when I get a new machine.  Which should be some years away -
I've only had this one about a year.  Unless, of course, I'm forced to
remove HPLIP by some upgrade or other in the mean time.

Cheers.

-- 
 Regards  _
 / )  "The blindingly obvious is never immediately apparent"
/ _)rad   "Is it only me that has a working delete key?"
All these things are mine!
Money is Not Our God -  Killing Joke


pgpB38ryjuZxD.pgp
Description: OpenPGP digital signature


Re: apt-upgrade (Bullseye) shows 1 pkg not upgraded

2021-08-10 Thread Jim Popovitch
On Tue, 2021-08-10 at 14:00 -0400, Greg Wooledge wrote:
> On Tue, Aug 10, 2021 at 01:57:13PM -0400, Jim Popovitch wrote:
> > ~$ apt-get -sV full-upgrade
> > Reading package lists... Done
> > Building dependency tree... Done
> > Calculating upgrade... Done
> > 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
> 
> Have you tried Google yet?
> 
> https://unix.stackexchange.com/questions/615676/0-upgraded-0-newly-installed-0-to-remove-and-1-not-upgraded-how-can-i-upgrade
> 
> https://www.linuxquestions.org/questions/debian-26/%271-package-not-upgraded%27-conundrum-4175620661/
> 
> Perhaps one of those will point the way.  (What do you have pinned,
> and what third-party repositories do you have configured?)
> 

Nothing pinned.  I did see the first link you posted, but not the 2nd
one, although neither seems to apply to what I'm experiencing.  No
pinning, no custom apt settings, etc.

$ cat /etc/apt/sources.list
deb [trusted=yes] http://ftp.us.debian.org/debian bullseye main
deb [trusted=yes] http://ftp.us.debian.org/debian bullseye-updates main
deb [trusted=yes] http://security.debian.org bullseye-security main

$ apt-get clean && apt-get update && apt-get upgrade && apt-get -sV
full-upgrade
Hit:1 http://security.debian.org bullseye-security InRelease
Hit:2 http://ftp.us.debian.org/debian bullseye InRelease
Hit:3 http://ftp.us.debian.org/debian bullseye-updates InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.


Thanks for at least offering suggestings, etc. 

-Jim P.




Re: apt-upgrade (Bullseye) shows 1 pkg not upgraded

2021-08-10 Thread john doe

On 8/10/2021 7:57 PM, Jim Popovitch wrote:

On Tue, 2021-08-10 at 19:49 +0200, john doe wrote:

On 8/10/2021 7:32 PM, Jim Popovitch wrote:

How can I determine what the "1 not upgraded" package might be?


~$ apt-get update
Hit:1 http://ftp.us.debian.org/debian bullseye InRelease
Hit:2 http://security.debian.org bullseye-security InRelease
Hit:3 http://ftp.us.debian.org/debian bullseye-updates InRelease
Reading package lists... Done

~$ apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.


~$ apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.



$ apt-get -sV full-upgrade


-s = simulate
-V = verbose


Thanks, unfortunately still nothing. :(

~$ apt-get -sV full-upgrade
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.


I'm beginning to wonder if this is just a bug in apt-get, I know of
nothing on this small server that has a pending upgrade.



As the cmd works for me I'm not sure this is a bug in 'apt-get' but
maybe a pkg on 'hold'.

--
John Doe



Re: apt-upgrade (Bullseye) shows 1 pkg not upgraded

2021-08-10 Thread Greg Wooledge
On Tue, Aug 10, 2021 at 01:57:13PM -0400, Jim Popovitch wrote:
> ~$ apt-get -sV full-upgrade
> Reading package lists... Done
> Building dependency tree... Done
> Calculating upgrade... Done
> 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

Have you tried Google yet?

https://unix.stackexchange.com/questions/615676/0-upgraded-0-newly-installed-0-to-remove-and-1-not-upgraded-how-can-i-upgrade

https://www.linuxquestions.org/questions/debian-26/%271-package-not-upgraded%27-conundrum-4175620661/

Perhaps one of those will point the way.  (What do you have pinned,
and what third-party repositories do you have configured?)



Re: apt-upgrade (Bullseye) shows 1 pkg not upgraded

2021-08-10 Thread Jim Popovitch
On Tue, 2021-08-10 at 19:49 +0200, john doe wrote:
> On 8/10/2021 7:32 PM, Jim Popovitch wrote:
> > How can I determine what the "1 not upgraded" package might be?
> > 
> > 
> > ~$ apt-get update
> > Hit:1 http://ftp.us.debian.org/debian bullseye InRelease
> > Hit:2 http://security.debian.org bullseye-security InRelease
> > Hit:3 http://ftp.us.debian.org/debian bullseye-updates InRelease
> > Reading package lists... Done
> > 
> > ~$ apt-get upgrade
> > Reading package lists... Done
> > Building dependency tree... Done
> > Calculating upgrade... Done
> > 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
> > 
> > 
> > ~$ apt-get dist-upgrade
> > Reading package lists... Done
> > Building dependency tree... Done
> > Calculating upgrade... Done
> > 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
> > 
> 
> $ apt-get -sV full-upgrade
> 
> 
> -s = simulate
> -V = verbose

Thanks, unfortunately still nothing. :(

~$ apt-get -sV full-upgrade
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.


I'm beginning to wonder if this is just a bug in apt-get, I know of
nothing on this small server that has a pending upgrade.

-Jim P.





Re: All-in-One printer: HP OfficeJet 8012

2021-08-10 Thread Erwan David
Le 10/08/2021 à 16:59, Brian a écrit :
>
> CUPS will cease to support drivers and PPDs in the coming years. Users
> may as well come to terms with driverless printing. HPLIP and other
> vendor drivers will not have any place in a future CUPS. 
>

Do you have some pointers to what we must do to use this driverless
printing and scanning ?





Re: apt-upgrade (Bullseye) shows 1 pkg not upgraded

2021-08-10 Thread john doe

On 8/10/2021 7:32 PM, Jim Popovitch wrote:

How can I determine what the "1 not upgraded" package might be?


~$ apt-get update
Hit:1 http://ftp.us.debian.org/debian bullseye InRelease
Hit:2 http://security.debian.org bullseye-security InRelease
Hit:3 http://ftp.us.debian.org/debian bullseye-updates InRelease
Reading package lists... Done

~$ apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.


~$ apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.



$ apt-get -sV full-upgrade


-s = simulate
-V = verbose

--
John Doe



Re: All-in-One printer: HP OfficeJet 8012

2021-08-10 Thread Brian
On Tue 10 Aug 2021 at 17:51:46 +0100, Brad Rogers wrote:

> On Tue, 10 Aug 2021 17:18:30 +0100
> Brian  wrote:
> 
> Hello Brian,
> 
> >I can understand using HPLIP instead of driverless printing if you
> >had a USB connection and were on buster, but not if the device has
> >a network connection or is on bullseye. Does choosing to employ
> 
> Hang over from a previous HP printer install;  An HP 6700 AiO printer
> which died recently, despite attempts to revive it with a good clean
> out and a new printhead assy.
> 
> As for why use HPLIP - I used the install that was already there, just
> updating it for the new printer.  It works well enough for me.
> Personally, I like having HPLIP's Device Status applet for ink level
> checking (printer is not in same room as computer), as that is all I need
> to see.  The printer's web page is overkill.  IMO, of course,

Thank you for the response, Brad. I see the point about applet verus web
page. To my mind it is not a showstopper. Enjoy the applet while you can.

-- 
Brian.



Re: apt-upgrade (Bullseye) shows 1 pkg not upgraded

2021-08-10 Thread Jim Popovitch
On Tue, 2021-08-10 at 12:37 -0500, Lance Simmons wrote:
> apt list --upgradeable

:(

~$ apt list --upgradeable
Listing... Done


Thanks for suggesting that though.

-Jim P.



Re: apt-upgrade (Bullseye) shows 1 pkg not upgraded

2021-08-10 Thread Lance Simmons
apt list --upgradeable

On Aug 10 2021, at 12:32 pm, Jim Popovitch  wrote:

> How can I determine what the "1 not upgraded" package might be?
> 
> 
> ~$ apt-get update 
> Hit:1 http://ftp.us.debian.org/debian bullseye InRelease
> Hit:2 http://security.debian.org bullseye-security InRelease
> Hit:3 http://ftp.us.debian.org/debian bullseye-updates InRelease
> Reading package lists... Done
> 
> ~$ apt-get upgrade 
> Reading package lists... Done
> Building dependency tree... Done
> Calculating upgrade... Done
> 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
> 
> 
> ~$ apt-get dist-upgrade 
> Reading package lists... Done
> Building dependency tree... Done
> Calculating upgrade... Done
> 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
> 
> 
> -Jim P.
> 
> 
> 
> 



apt-upgrade (Bullseye) shows 1 pkg not upgraded

2021-08-10 Thread Jim Popovitch
How can I determine what the "1 not upgraded" package might be?


~$ apt-get update 
Hit:1 http://ftp.us.debian.org/debian bullseye InRelease
Hit:2 http://security.debian.org bullseye-security InRelease
Hit:3 http://ftp.us.debian.org/debian bullseye-updates InRelease
Reading package lists... Done

~$ apt-get upgrade 
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.


~$ apt-get dist-upgrade 
Reading package lists... Done
Building dependency tree... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.


-Jim P.





Re: Disk for a small server

2021-08-10 Thread ghe2001
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256



‐‐‐ Original Message ‐‐‐
On Tuesday, August 10, 2021 9:04 AM, Leandro Noferini 
 wrote:

> I have a little server (debian stable on raspberry) used by my family and a
> little set of people (~10) with services like nextcloud (~100GB growing) and
> some more.
>
> This server has an external disk for the data, disk that is becoming too 
> little
> so I would like to change it with a bigger one (1TB) and I would like to 
> arrange
> this new disk in a confgurable fashion, so I would change the partitions on 
> the
> way.

I have a 1T 2.5", USB disk on on my 'Pi server.  It works and fits nicely under 
the RPi.  The 4s have USB3 ports.

It's all backed up to tape regularly...

--
Glenn English
>
-BEGIN PGP SIGNATURE-
Version: ProtonMail

wsBzBAEBCAAGBQJhErHwACEJEJ/XhjGCrIwyFiEELKJzD0JScCVjQA2Xn9eG
MYKsjDJ2IwgAu22b7LFJXFgjvjcD7CI6X5ZIikQGvvbJ4/HbSDL47KeymVwU
2YCg9K0i6SMTU8NsZQ/9qO1LvL1wbDqCVgDOSlRymzS3uJONF/zbjpPjvpBc
cuE2bP6eANONXVXV7124aKLSAhXyfP0l3BXaOKMspSCVDcW5i/6gJpIRB4sR
I+Sd8tICnn0NbOVZju29Rn63VOLiKlWMpg0/OktxGVaKcjO5cZET92nN2Tbl
qSWF7GnjT2kvvGhM+Hcv5T/Vk4ub3n0fx7Xdx8GvvSVijBUkoctjnEISUKlh
ChmImtjRR+rSQ7nED9qH4jmZxhMSmptWBCaMzp8b7D+0LvRfe26paw==
=/v/K
-END PGP SIGNATURE-



Re: All-in-One printer: HP OfficeJet 8012

2021-08-10 Thread Brad Rogers
On Tue, 10 Aug 2021 17:18:30 +0100
Brian  wrote:

Hello Brian,

>I can understand using HPLIP instead of driverless printing if you
>had a USB connection and were on buster, but not if the device has
>a network connection or is on bullseye. Does choosing to employ

Hang over from a previous HP printer install;  An HP 6700 AiO printer
which died recently, despite attempts to revive it with a good clean
out and a new printhead assy.

As for why use HPLIP - I used the install that was already there, just
updating it for the new printer.  It works well enough for me.
Personally, I like having HPLIP's Device Status applet for ink level
checking (printer is not in same room as computer), as that is all I need
to see.  The printer's web page is overkill.  IMO, of course,

>Surely HP in the package's name is not the incentive?

See above.  But to answer directly;  No.

-- 
 Regards  _
 / )  "The blindingly obvious is never immediately apparent"
/ _)rad   "Is it only me that has a working delete key?"
Dream on white boy, dream on black girl
Original Sin - INXS


pgpoPKI69Diqc.pgp
Description: OpenPGP digital signature


Re: [OFFTOPIC] Editing a file (was: percent char '%' in sudoers file)

2021-08-10 Thread Roger Price

On Tue, 10 Aug 2021, Stefan Monnier wrote:


Roger Price [2021-08-10 11:11:24] wrote:

On Tue, 10 Aug 2021, Bob Bernstein wrote:

Full disclosure: In a typical Bob fit of impulsivity I, yes, edited this
file using 'sudo nsno /etc/sudoers'.

My impulse would be to use  VISUAL=/usr/bin/emacs visudo -f /etc/sudoers


You guys have amazing impulse control.
My fingers would have typed `e /etc/suders` before I would have had
a chance to do anything about it.


 Young Stefan had fingers so fast
 No filename was safe from the blast
When emacs was "e"
It was easy to see
 sud(o)ers was not meant to last



Re: All-in-One printer: HP OfficeJet 8012

2021-08-10 Thread Brian
On Tue 10 Aug 2021 at 15:34:52 +0100, Brad Rogers wrote:

> On Tue, 10 Aug 2021 16:14:38 +0200
> Nicolas George  wrote:
> 
> Hello Nicolas,
> 
> >insanely so. The HP OfficeJet 8012 seems the most interesting available
> >at my preferred vendor (LDLC).
> 
> That's the one I've got here.  Runs fine.

Very useful info.
 
> There's one oddity, if you use HP Device Manager - When the GUI first
> comes up, there's nothing shown.  However, after a short wait (30 secs
> max), ink levels and Actions all show.  It may be the way I've set things
> up, of course.

I can understand using HPLIP instead of driverless printing if you
had a USB connection and were on buster, but not if the device has
a network connection or is on bullseye. Does choosing to employ
HPLIP have some advantage? I know many users do the same as you do.
Surely HP in the package's name is not the incentive?

-- 
Brian.



Re: percent char '%' in sudoers file

2021-08-10 Thread mick crane

On 2021-08-10 07:19, Bob Bernstein wrote:

My copy (buster amd64) of lines 23-24 of /etc/sudoers looks like this:

23 # Allow members of group sudo to execute any comm$
24 % sudo  ALL=(ALL:ALL) ALL

Is that '%' a comment char? The line numbers shown were provided by
nano. I know, I know, please keep reading.


I assumed also, partly because I didn't have my glasses, that "%" was a 
comment and deleted that line in ssh config or something on synology 
NAS.

Then I twigged "%" was group, but that's how we learn.
mick

--
Key ID4BFEBB31



Re: All-in-One printer: HP OfficeJet 8012

2021-08-10 Thread Nicolas George
Brian (12021-08-10):
> Over the years HP has been a stalwart supporter of Linix printing and
> imaging via HPLIP. However, any *modern* MFD made by HP supports a
> driverless printing environment such as the one Debian provides. HPLIP
> is, in fact, redundant with a modern MFD.

> You are not mistaken. But not only Does Debian provide driverless
> printing but it also provides driverless scanning via SANE and, in
> addition, the sane-airscan package. sane-airscan is in bullseye and
> in buster-bacports.

> Whatever has been said above also applies to to any other *modern*
> device from these vendors.

> CUPS will cease to support drivers and PPDs in the coming years. Users
> may as well come to terms with driverless printing. HPLIP and other
> vendor drivers will not have any place in a future CUPS. 

Thank you for these very helpful general informations, and thanks to
Brad for the specific information about the particular model.

About Brother: the only model worth considering for us is the
DCP-J1200DW, and it is only a little cheaper than the HP, and the
characteristics of the HP are a little better, including double-sided
printing which is not necessary for our use but still a nice thing to
have.

Considering that AFAIK Brother is more reputed for its laser printers
than for all-in-one inkjets and that I want to recompense being a
stalwart supporter of Linux printing, I think I will stay with the HP.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Disk for a small server

2021-08-10 Thread Leandro Noferini
Ciao a tutti,

I have a little server (debian stable on raspberry) used by my family and a
little set of people (~10) with services like nextcloud (~100GB growing) and
some more.

This server has an external disk for the data, disk that is becoming too little
so I would like to change it with a bigger one (1TB) and I would like to arrange
this new disk in a confgurable fashion, so I would change the partitions on the
way.

I remained to lvm2: there is something newer/better?

-- 
Ciao
leandro



Re: All-in-One printer: HP OfficeJet 8012

2021-08-10 Thread Brian
On Tue 10 Aug 2021 at 16:14:38 +0200, Nicolas George wrote:

> Hi.
> 
> We need to replace an all-in-one printer-scanner, a HP Deskjet 3054A.
> 
> Based on past experience, I am favoring HP, because AFAIK they mostly
> play fair about Libre drivers, and their ink is too expensive but not
> insanely so. The HP OfficeJet 8012 seems the most interesting available
> at my preferred vendor (LDLC).

Over the years HP has been a stalwart supporter of Linix printing and
imaging via HPLIP. However, any *modern* MFD made by HP supports a
driverless printing environment such as the one Debian provides. HPLIP
is, in fact, redundant with a modern MFD.

> As far as I can see, it would be supported through driverless printing
> and sane-hpaio. Am I mistaken?

You are not mistaken. But not only Does Debian provide driverless
printing but it also provides driverless scanning via SANE and, in
addition, the sane-airscan package. sane-airscan is in bullseye and
in buster-bacports.

> The vendor has other models has other models by Epson, Canon and
> Brother. I remember these brands have caused trouble to users of Libre
> software, unlike HP who develops its own Libre tools. I want to buy
> according to my ethics. Has one of them turned its policy around enough
> to warrant considering it?

Whatever has been said above also applies to to any other *modern*
device from these vendors.

> Is there any other remark you may want to do about it?

CUPS will cease to support drivers and PPDs in the coming years. Users
may as well come to terms with driverless printing. HPLIP and other
vendor drivers will not have any place in a future CUPS. 

-- 
Brian.



Re: All-in-One printer: HP OfficeJet 8012

2021-08-10 Thread Brad Rogers
On Tue, 10 Aug 2021 16:14:38 +0200
Nicolas George  wrote:

Hello Nicolas,

>insanely so. The HP OfficeJet 8012 seems the most interesting available
>at my preferred vendor (LDLC).

That's the one I've got here.  Runs fine.

There's one oddity, if you use HP Device Manager - When the GUI first
comes up, there's nothing shown.  However, after a short wait (30 secs
max), ink levels and Actions all show.  It may be the way I've set things
up, of course.

-- 
 Regards  _
 / )  "The blindingly obvious is never immediately apparent"
/ _)rad   "Is it only me that has a working delete key?"
You're the psychotic daughter of a psychotic mother
Pure Mania - The Vibrators


pgpHPyBAMngKs.pgp
Description: OpenPGP digital signature


Re: All-in-One printer: HP OfficeJet 8012

2021-08-10 Thread Stephen P. Molnar




On 08/10/2021 10:14 AM, Nicolas George wrote:

Hi.

We need to replace an all-in-one printer-scanner, a HP Deskjet 3054A.

Based on past experience, I am favoring HP, because AFAIK they mostly
play fair about Libre drivers, and their ink is too expensive but not
insanely so. The HP OfficeJet 8012 seems the most interesting available
at my preferred vendor (LDLC).

As far as I can see, it would be supported through driverless printing
and sane-hpaio. Am I mistaken?

The vendor has other models has other models by Epson, Canon and
Brother. I remember these brands have caused trouble to users of Libre
software, unlike HP who develops its own Libre tools. I want to buy
according to my ethics. Has one of them turned its policy around enough
to warrant considering it?

Is there any other remark you may want to do about it?

(If your remark is along the lines: "not inkjet, laser" or "not
all-in-one, separate devices", save your time, I have already heard the
arguments and I know the constraints I am working with.)

Thanks in advance.

Regards,

For what it might be worth, I switched to a Brother DCP-L2550DW Laser 
Printer a couple of years ago. I has given me no problems with Buster 
(or with my Win 10 Laptop). There are after market dealers out there 
that have replacement for Toner Cartridges and Drums for a reasonable 
price. Iroutinly get 1200 to 1500 pagers per Toner Cartridge.


Of course, if your looking for color, this is not the printer for you.

--
Stephen P. Molnar, Ph.D.
www.molecular-modeling.net
614.312.7528 (c)
Skype:  smolnar1



Re: All-in-One printer: HP OfficeJet 8012

2021-08-10 Thread Peter Ehlert



On 8/10/21 7:14 AM, Nicolas George wrote:

Hi.

We need to replace an all-in-one printer-scanner, a HP Deskjet 3054A.

Based on past experience, I am favoring HP, because AFAIK they mostly
play fair about Libre drivers, and their ink is too expensive but not
insanely so. The HP OfficeJet 8012 seems the most interesting available
at my preferred vendor (LDLC).

As far as I can see, it would be supported through driverless printing
and sane-hpaio. Am I mistaken?

The vendor has other models has other models by Epson, Canon and
Brother. I remember these brands have caused trouble to users of Libre
software, unlike HP who develops its own Libre tools.
I have been using a Brother MFC-J6710DW for quite some time...it seems 
to be well supported using the Brother website

I do not know if it is truly Libre

it is defiantly time to replace it, I will investigate the HP OfficeJet 8012

I want to buy
according to my ethics. Has one of them turned its policy around enough
to warrant considering it?

Is there any other remark you may want to do about it?

(If your remark is along the lines: "not inkjet, laser" or "not
all-in-one, separate devices", save your time, I have already heard the
arguments and I know the constraints I am working with.)

Thanks in advance.

Regards,





All-in-One printer: HP OfficeJet 8012

2021-08-10 Thread Nicolas George
Hi.

We need to replace an all-in-one printer-scanner, a HP Deskjet 3054A.

Based on past experience, I am favoring HP, because AFAIK they mostly
play fair about Libre drivers, and their ink is too expensive but not
insanely so. The HP OfficeJet 8012 seems the most interesting available
at my preferred vendor (LDLC).

As far as I can see, it would be supported through driverless printing
and sane-hpaio. Am I mistaken?

The vendor has other models has other models by Epson, Canon and
Brother. I remember these brands have caused trouble to users of Libre
software, unlike HP who develops its own Libre tools. I want to buy
according to my ethics. Has one of them turned its policy around enough
to warrant considering it?

Is there any other remark you may want to do about it?

(If your remark is along the lines: "not inkjet, laser" or "not
all-in-one, separate devices", save your time, I have already heard the
arguments and I know the constraints I am working with.)

Thanks in advance.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: percent char '%' in sudoers file

2021-08-10 Thread john doe

On 8/10/2021 1:11 PM, Greg Wooledge wrote:

On Tue, Aug 10, 2021 at 09:13:22AM +0200, john doe wrote:

Fulling around is the best way to learn if you can take the time to fix
the issue(s) that your impulsivity has caused!!! :)


(Fooling around.)  If you do choose to fool around with sudoers, please
keep a root shell open at all times.  Don't cut yourself off from root
by counting on being able to do "sudo nano /etc/sudoers" again, because
you might have broken sudo.

"sudo -s" gives you a shell as root.  Even if you never have to run a
single command in that shell, having it there for emergency use is wise.



Obviously, fooling around should not be done on a production
server/something that you need to have stable.

As long as you are messing around with sudo, that might not be a bad
idea to configure 'su' as a fallback mechanism.

--
John Doe



Re: Error starting any Debian installation (on an AMD SEV enabled KVM)

2021-08-10 Thread Henning Follmann
There is no need to PM me. I am subscribed to the mailinglist.


On Tue, Aug 10, 2021 at 02:06:04PM +0200, Office onFocus wrote:
> these are my iso files:
> 
[...]

> wget 
> https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-10.10.0-amd64-netinst.iso
> wget 
> https://get.debian.org/cdimage/weekly-builds/amd64/iso-cd/debian-testing-amd64-netinst.iso
>
Those should do.

[...]


> 
> 
> ## Testing DEBIAN
> 
> This Debian 10 test is NOT successful. You can boot the ISO and select any OS
> from the GRUB menu. For example "Debian Installer". 
> 
>   Debian GNU/Linux Live (kernel 4.19.0-17-amd64)
>   Debian Live with Localisation Support
>   Graphical Debian Installer
>   *Debian Installer
>   Debian Installer with Speech Synthesis
> 
> The kernel should be loaded, but the KVM reboots and you are back in the GRUB 
> menu :( 
> 
> 
> 
> The KVM creation is identical to Ubuntu except for the iso file and the 
> os-variant parameter,
> but the setting of the os-variant parameter has no effect. 
> 
> ---
> root@server:/var/lib/libvirt/images# virsh destroy sev-test; virsh undefine 
> sev-test --nvram
> s  \
> --launchSecurity sev
> 
> 
> Domain 'sev-test' destroyed
> 
> Domain 'sev-test' has been undefined
> 
> root@server:/var/lib/libvirt/images# rm /var/lib/libvirt/images/sev-test* 
> /var/lib/libvirt/qemu/nvram/sev-test_VARS.fd
> rm: cannot remove '/var/lib/libvirt/qemu/nvram/sev-test_VARS.fd': No such 
> file or directory
> root@server:/var/lib/libvirt/images# qemu-img create -f qcow2 
> /var/lib/libvirt/images/sev-test.qcow2 20G
> Formatting '/var/lib/libvirt/images/sev-test.qcow2', fmt=qcow2 
> cluster_size=65536 extended_l2=off compression_type=zlib size=21474836480 
> lazy_refcounts=off refcount_bits=16
> root@server:/var/lib/libvirt/images#
> root@server:/var/lib/libvirt/images# virt-install \
> > --name sev-test \
> > --memory 4096 \
> > --memtune hard_limit=4563402 \
> > --boot uefi \
> > --disk 
> > /var/lib/libvirt/images/debian-live-10.10.0-amd64-standard.iso,device=cdrom 
> > \
> > --disk /var/lib/libvirt/images/sev-test.qcow2,device=disk,bus=scsi \
> > --os-type linux \
> > --os-variant debian10 \
> > --import \
> > --controller type=scsi,model=virtio-scsi,driver.iommu=on \
> > --controller type=virtio-serial,driver.iommu=on \
> > --memballoon driver.iommu=on \
> > --graphics vnc,keymap=de,password='test passwd'  \
> > --network network=ovs-test,model=virtio,driver.iommu=on  \
> > --video=cirrus  \
> > --launchSecurity sev
> WARNING  Graphics requested but DISPLAY is not set. Not running virt-viewer.
> WARNING  No console to launch for the guest, defaulting to --wait -1
> 
> Starting install...
> 
> Domain is still running. Installation may be in progress.
> Waiting for the installation to complete.
> ---
>

Is there a reason why you do it this way and you use all these
options? Or is this just something you found on google?

Please try a much simpler approach for testing debian:

virt-install --virt-type kvm --name buster-amd64 \
--location http://deb.debian.org/debian/dists/buster/main/installer-amd64/ \
--os-variant debian10 \
--disk size=20 --memory 4096

This is btw. from the debian wiki (https://wiki.debian.org/KVM)

-H


-- 
Henning Follmann   | hfollm...@itcfollmann.com



Re: percent char '%' in sudoers file

2021-08-10 Thread tomas
On Tue, Aug 10, 2021 at 07:11:55AM -0400, Greg Wooledge wrote:
> On Tue, Aug 10, 2021 at 09:13:22AM +0200, john doe wrote:
> > Fulling around is the best way to learn if you can take the time to fix
> > the issue(s) that your impulsivity has caused!!! :)
> 
> (Fooling around.)  If you do choose to fool around with sudoers, please
> keep a root shell open at all times.  Don't cut yourself off from root
> by counting on being able to do "sudo nano /etc/sudoers" again, because
> you might have broken sudo.

...or learn how to access your "dead" disk without booting from it (live
system, rescue, extracting the disk and mounting it on other system --
choices are... panoramic here; most of the time you'll need some extra
hardware, a prepared, lowly USB stick might suffice :-)

> "sudo -s" gives you a shell as root.  Even if you never have to run a
> single command in that shell, having it there for emergency use is wise.

...but I do agree that Greg's advice potentially leads to the shortest
downtimes :-D

Cheers
 - t


signature.asc
Description: Digital signature


Re: percent char '%' in sudoers file

2021-08-10 Thread Nicolas George
Greg Wooledge (12021-08-10):
> (Fooling around.)  If you do choose to fool around with sudoers, please
> keep a root shell open at all times.  Don't cut yourself off from root
> by counting on being able to do "sudo nano /etc/sudoers" again, because
> you might have broken sudo.

Also, use visudo instead of editing the file directly, it will at least
check the syntax before letting you overwrite it.


signature.asc
Description: PGP signature


Re: percent char '%' in sudoers file

2021-08-10 Thread Greg Wooledge
On Tue, Aug 10, 2021 at 09:13:22AM +0200, john doe wrote:
> Fulling around is the best way to learn if you can take the time to fix
> the issue(s) that your impulsivity has caused!!! :)

(Fooling around.)  If you do choose to fool around with sudoers, please
keep a root shell open at all times.  Don't cut yourself off from root
by counting on being able to do "sudo nano /etc/sudoers" again, because
you might have broken sudo.

"sudo -s" gives you a shell as root.  Even if you never have to run a
single command in that shell, having it there for emergency use is wise.



Re: can't login via gdm

2021-08-10 Thread Zoltán Herman
or try login as root

IL Ka  ezt írta (időpont: 2021. aug. 10., K
12:35):

>
>> I ran the following to change my users UID & GIDs - but, now I have no
>> graphic gdm login.  I have no problem with a terminal login and the
>> same worked on a terminal based server.
>>
>>
> Check your logs with journalctl.
> There is also ~/.xsession-errors, but you probably lost access to your own
> home dir.
>
> As root do:
> $ chown -R joe /home/joe
> and login as joe
>
> Create another user and try login with it. Does it work?
>
> If it doesn't work:
> Make sure that ``/tmp`` folder has full write permissions of everyone.
> If not, fix it
>
> Disable graphical login i.e. (``systemctl set-default multi-user.target``)
> and reboot.
> Try to start x with ``startx`` from the console.
> Does it work? If not, check /var/log/Xorg.* log
>


Re: can't login via gdm

2021-08-10 Thread IL Ka
>
>
> I ran the following to change my users UID & GIDs - but, now I have no
> graphic gdm login.  I have no problem with a terminal login and the
> same worked on a terminal based server.
>
>
Check your logs with journalctl.
There is also ~/.xsession-errors, but you probably lost access to your own
home dir.

As root do:
$ chown -R joe /home/joe
and login as joe

Create another user and try login with it. Does it work?

If it doesn't work:
Make sure that ``/tmp`` folder has full write permissions of everyone.
If not, fix it

Disable graphical login i.e. (``systemctl set-default multi-user.target``)
and reboot.
Try to start x with ``startx`` from the console.
Does it work? If not, check /var/log/Xorg.* log


Re: percent char '%' in sudoers file

2021-08-10 Thread Jonathan Dowland

On Tue, Aug 10, 2021 at 11:11:24AM +0200, Roger Price wrote:

My impulse would be to use  VISUAL=/usr/bin/emacs visudo -f /etc/sudoers


(for the OP:) the tool "visudo" is a wrapper around an editor (despite
its name, the editor does not have to be vi, as Roger demonstrates here)
that launches your preferred editor (one way to specify that is by
defining it in the VISUAL environment variable, as here) editing
/etc/sudoers. But when you quit the editor, visudo sanity checks the
resulting file before copying it into place. It's a useful safety check
to prevent you accidentally breaking the sudoers file and locking
yourself out of gaining superuser on your machine.



--
Please do not CC me for listmail.

👱🏻  Jonathan Dowland
✎j...@debian.org
🔗   https://jmtd.net



Re: percent char '%' in sudoers file

2021-08-10 Thread Roger Price

On Tue, 10 Aug 2021, Bob Bernstein wrote:

Full disclosure: In a typical Bob fit of impulsivity I, yes, edited this file 
using 'sudo nsno /etc/sudoers'.


My impulse would be to use  VISUAL=/usr/bin/emacs visudo -f /etc/sudoers

Roger



Re: percent char '%' in sudoers file

2021-08-10 Thread Anssi Saari
Bob Bernstein  writes:

> Full disclosure: In a typical Bob fit of impulsivity I, yes, edited
> this file using 'sudo nsno /etc/sudoers'.

In general, consider making a backup of config files before editing.

Here's a sudo mini course:

- Consider what needs to run as root and only run that command with sudo.
- To edit a file: sudoedit file
- Sometimes it's just easier to to run a shell as root: sudo -s

For documentation:
- man sudo
- man sudoers

> Alright, enough fooling around. I am a great fan of Dr. John
> E. Davis's (the author of jed) viewer app 'most.' I cannot seem to
> persuade mc to honor my env var VIEWER which asks for 'most.'

Wow, I didn't know most is still around. I remember using it a long time
ago but I've stuck with less. I guess mostly because it's a lot more
likely to be available than most as I use Linux systems that I don't
manage myself as well...

Anyways, the mc manual says mc uses the builtin viewer unless "Use
internal view" option is disabled, otherwise it uses PAGER or
VIEWER. Seems to work for me for both less and most.



Servicio de la flota

2021-08-10 Thread Alarico Veloz
Buenos días:

Le escribo para hablarle sobre una de las mejores herramientas GPS en el 
mercado.

La herramienta, que me gustaría presentarle brevemente, dispone de muchas 
funciones útiles para su trabajo, que optimizan los procesos de transporte y le 
ayudan a realizar tareas de campo de manera más eficiente.

¿Quiere conocer los detalles?


Atentamente,
Alarico Veloz



can't login via gdm

2021-08-10 Thread Morgan Read
Hello List,

I ran the following to change my users UID & GIDs - but, now I have no
graphic gdm login.  I have no problem with a terminal login and the
same worked on a terminal based server.

After boot, gdm attempts to start but fails with a blinking cursor in
the top left corner - I can switch to tty2 etc.  Does anyone know what
stupidity I may have inflicted upon myself?

Commands executed:
# usermod -u 1003 guest
# usermod -u 1002 joe
# usermod -u 1001 blow
# groupmod -g 1003 guest
# groupmod -g 1002 joe
# groupmod -g 1001 blow
# find / -user 1002 -execdir chown 1003 '{}' \;
# find / -group 1002 -execdir chgrp 1003 '{}' \;
# find / -user 1001 -execdir chown 1002 '{}' \;
# find / -group 1001 -execdir chgrp 1002 '{}' \;
# find / -user 1000 -execdir chown 1001 '{}' \;
# find / -group 1000 -execdir chgrp 1001 '{}' \;

Thanks,
Morgan
-- 
Morgan Read
E mst...@read.org.nz
(GM)



Re: percent char '%' in sudoers file

2021-08-10 Thread Keith Bainbridge
On Tue, 10 Aug 2021 08:57:46 +0200
 wrote:

> What I'm not sure is whether the whitespace between the '%' and
> the 'sudo' is relevant. My /etc/sudoers hasn't that.


Mine is the same - no space = %sudo   ALL=(ALL:ALL) ALL

Best

Keith Bainbridge
keithrbaugro...@gmail.com



Re: percent char '%' in sudoers file

2021-08-10 Thread john doe

On 8/10/2021 8:19 AM, Bob Bernstein wrote:

My copy (buster amd64) of lines 23-24 of /etc/sudoers looks like this:



I would suggest to use the directory '/etc/sudoers.d' instead of
modifying the 'sudoers' file.


23 # Allow members of group sudo to execute any comm$
24 % sudo  ALL=(ALL:ALL) ALL

Is that '%' a comment char? The line numbers shown were provided by


No, '%' tells that 'sudo' is a group.


nano. I know, I know, please keep reading.

Full disclosure: In a typical Bob fit of impulsivity I, yes, edited this
file using 'sudo nsno /etc/sudoers'. How much damage have I done, what
are the penalties for such behaviour, and will I get time off for good
behaviour?



Fulling around is the best way to learn if you can take the time to fix
the issue(s) that your impulsivity has caused!!! :)


Alright, enough fooling around. I am a great fan of Dr. John E. Davis's
(the author of jed) viewer app 'most.' I cannot seem to persuade mc to
honor my env var VIEWER which asks for 'most.'

I am new to using sudo. All suggestions bearing even the slightest hint
of civility will be thoughtfully considered.



Space separating the '%' and the group name ('sudo') does not strike me
as a good idea.

--
John Doe



Re: percent char '%' in sudoers file

2021-08-10 Thread David
On Tue, 10 Aug 2021 at 16:58,  wrote:
> On Tue, Aug 10, 2021 at 02:19:18AM -0400, Bob Bernstein wrote:

> > My copy (buster amd64) of lines 23-24 of /etc/sudoers looks like
> > this:

> > 23 # Allow members of group sudo to execute any comm$
> > 24 % sudo  ALL=(ALL:ALL) ALL
> >
> > Is that '%' a comment char?

> No. It is a group indicator. It means that users who are members
> of the group 'sudo' are allowed to runn ALL commands as any (ALL)
> user and any (ALL) group, but they have to authenticate (NOPASSW
> is missing).

> What I'm not sure is whether the whitespace between the '%' and
> the 'sudo' is relevant. My /etc/sudoers hasn't that.

'man 5 sudoers' format specification shows no space between
the '%' and the group name. By that guidance, it looks wrong
and I would remove it.