Tim, I tried the following:

----------
till@till:~$ sudo su - test
[sudo] password for till: 
test@till:~$ /usr/sbin/lpadmin -p testqueue -E -v /dev/null
lpadmin: Forbidden
test@till:~$ /usr/sbin/lpadmin -U till -p testqueue -E -v /dev/null
Password for till on localhost? 
lpadmin: Unauthorized
test@till:~$ /usr/sbin/lpadmin -U till -p testqueue -E -v /dev/null
Password for till on localhost? 
test@till:~$ lpstat -v testqueue
device for testqueue: /dev/null
test@till:~$ exit
logout
till@till:~$ lpadmin -x testqueue
till@till:~$ 
----------

"till" is in the "lpadmin"group, "test" not. On the first
"/usr/sbin/lpadmin -U till ..." command I simply pressed Enter on the
password prompt and the command exited immidiately, on the second
command I entered the correct password and the queue got created.
Entering a wrong, non-empty password leads to a new password prompt,
also entering nothing on the new prompt closes lpadmin.

So CUPS seems to behave correctly.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/653132

Title:
  "Add Printer" dialog requests root password if user is not in
  Configure Printers group

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/system-config-printer/+bug/653132/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to