[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1022974: hplip and sudo



tags 1022974 - moreinfo
thanks



On Tue 20 Dec 2022 at 22:41:05 +0200, Teemu Ikonen wrote:

> > Firstly, an installation of Debian without a root password will
> > install sudo. Therefore, it does not need to be a dependancy of
> > HPLIP.
> >
> > Secondly, HPLIP will only interact with Debian via a root pasword.
> > A user's password with sudo is not acceptable. See
> >
> >   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=825383
> >   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=925222
> >
> > Having HPLIP depend on sudo is not a solution. Hence closing.
> 
> Ok, keeping systems with a root account sudo-free has some value, but I'll
> note that sudo without a root account works fine with the following lines
> added to ~/.hplip/hplip.conf :
> 
> [authentication]
> su_sudo=sudo

Very neat! It's something I wasn't aware of, so my second statement
above needs nodifying in the light of your contribution. Thank you
very much.

Chheers,

Brian.


Reply to: