I can't change settings on my cups printer. He asks me for a username and password i already added for me the usergroup lpadmin . But nothing changes after a restart of cups. Still asking me for username and password and my user is not working.
5 Answers
I had the same problem.
I seem to have fixed it with the command:
sudo usermod -a -G lpadmin pi
This adds the user name pi to the cups user group lpadmin. You can then use the default user name "pi" and password "raspberry" when prompted.
- 2,081
- 91
Check if cups is accessible on your localhost through the webinterface
Listen localhost:631
WebInterface Yes
in /etc/cups/cupsd.conf. Then restart cups using
sudo killall cupsd
sudo /etc/init.d/cups restart
and check if you user is part of the group lpadmin
cat /etc/group | grep YOUR-USERNAME
After that you should be able to access cups with you username & pwd on http://127.0.0.1:631/
If it still fails check the cups error log here
tail -f /var/log/cups/error_log
P.S. you might also want to read this thread.
- 1,264
- You can use credentials of any user who is in the
lpadmingroup. To see the list of users in
lpadmingroup, use the command in a root shellcat /etc/group | grep lpadmin
- 451
Just upgraded a bunch of client computers from 14.04 to 16.04 on and ran into this issue.
This appears to be the problem:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1157318
The fix
apt install apparmor-utils
aa-complain /etc/apparmor.d/usr.sbin.cupsd
Of course, make sure you really have your user ID in the lpadmin group, as the OP stated.
- 792
If you ended up here like me on a newer version, 18.04, you should already be apart of this group. So your username and password should work.
- 4,860