Add printer won't ask for sudo password (even if it's necessary)

Project:Trisquel
Version:7.0
Component:Programs
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

When trying to add a printer with the Trisquel default GUI application, it gives an error saying that it cannot add the printer, and the same happens when running "hp-setup". HOWEVER, when running "sudo hp-setup" it will work ok, which seems to me that the problem in the GUI is that it should ask the sudo password and it doesn't (so it gives an error as it can't access the system files to register the printer.

Tue, 10/13/2015 - 17:19

Is hp-setup something that comes with Trisquel anyways? Looks like it can install proprietary firmware. http://hplipopensource.com/node/309

Fri, 10/23/2015 - 01:27

hplip comes preinstalled in Trisquel, and it is AFAIK the free/libre way to use HP printers.
Problem is, hp-setup works if we use sudo, but the gui facility won't ask for sudo password (and it should, just like gparted for example).

Fri, 10/23/2015 - 12:08

Is it a network printer or a local printer?

Try to set a root password, if you really want to log as root. In terminal type: "sudo passwd root" (without quotes). BUT, setting a root password is considered a bad idea.

Note that if sudo asked you for a password, it won't ask you again for the next few minutes. Depending on the configuration, sudo may keep a separate password delay per terminal.