error in /usr/share/hplip/config_usb_printer.py

Asked by Joe Messing

Ubuntu 12.04 HP Officejet 4620. Recieve error 'error in /usr/share/hplip/config_usb_printer.py' when I boot computer.
Also 2 other errors
HP device manager-Queus diagnose: User must be part of "LP" group. Manually add "LP" group to "DAD" user.
How do I do that?
Failed to run /usr/bin/ user mod -a -Glp, lpadmin "DAD" as user root. The underlying authorisation mechanism (sudo) does not allow you to run this program. Contact the system administrator.
"DAD" is the user account. "ADMIN" is the administrator account.
What does this error message mean?
By the way, the printer works fine. Prints, scans, faxes.

Question information

Language:
English Edit question
Status:
Answered
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Joe Messing (joemessing) said :
#1

Forgot to mention, I have installed the hplip-3.13.3 drivers.

Revision history for this message
Amarnath Chitumalla (amarnath-chitumalla) said :
#2

Hi Joe,

Please try following command from same user (not from root)

$ sudo " /usr/bin/usermod -a -Glp, lpadmin $USER"

--> If user don't have sudo permissions, try below

$ su -c "/usr/bin/usermod -a -Glp, lpadmin $USER"

--> reboot system

Thanks & Regards,
Amarnath

Revision history for this message
Joe Messing (joemessing) said :
#3

Amarnath Chitumalla

What does "Authentication failure" mean ?

dad@joe-MS-7798:~$ sudo "/usr/bin/usermod -a -Glp, lpadmin $USER"
[sudo] password for dad:
dad is not in the sudoers file. This incident will be reported.
dad@joe-MS-7798:~$ su -c"/usr/bin/usermod -a -Glp, lpadmin $USER"
Password:
su: Authentication failure
dad@joe-MS-7798:~$

Revision history for this message
Amarnath Chitumalla (amarnath-chitumalla) said :
#4

When su -c"/usr/bin/usermod -a -Glp, lpadmin $USER" command executed, needs to enter root password.
If password is incorrect this "su: Authentication failure" appears.

Revision history for this message
Joe Messing (joemessing) said :
#5

What is strange is that I know it is the correct password. I think I have ventured from a printer problem over to a Ubuntu 12.04 problem. Where should I go to research authentication problems?

Can you help with this problem?

Provide an answer of your own, or ask Joe Messing for more information if necessary.

To post a message you must log in.