Davi C. Rodrigues said the following on 01/10/2013 12:45 PM:
It is unclear to me what was exactly the problem to add a printer in cups, but it is now solved. I did some changes in the files cupsd.conf and group (with the help of Anton), but with no success at first; then I tried to install the same printer with a different driver from xerox from yast. After that, don't ask me why, I could add a printer in cups.
Actually its clear to me from the log file and additional information Davi sent me. He was logging in as 'davi' to the CUPS server on port 631 but the files in /etc/cups were owned by root, group lp. Adding 'davi' to the lp group, logout/login so as to pick that up, making cups explicitly 'lp' and - via yast rather than manually - restarting the cusp server -- all OK now. It was, as I said, an access control problem. However, if Davi had logged in to cups as root rather than 'davi' he woudln't have seen this. Why he had the problems via Yast, I don't know, perhaps ... Davi, do you su to root to run Yast? http://unix.stackexchange.com/questions/21074/dont-require-root-to-add-print... So here's a summary of what we went through, with references. Another approach is via the SystemGroup setting https://wiki.archlinux.org/index.php/CUPS#Alternative_CUPS_interfaces -- create a 'lpadmin' group. This is great if you want to delegate administration to a group of users rather than have root do everything. This is a good source http://etutorials.org/Linux+systems/how+linux+works/Chapter+12+Printing/12.5... It says <quote> The following parameters select the user and group that run all tasks except the cupsd server. You likely do not need to change these, but you may need to add the user and group to your system: User lp Group sys </quote> So there you have the point in case. UNLESS YOU LOG IN AS ROOT-THE-ALL-POWERFUL to user administering the lp subsystem needs to be a member of the group defined in cupsd.conf. Add the user to /etc/group's "lp" line, log in and out. Uncomment those two lines in /etc/cups/cupspd.conf AND RESTART THE CUPS SERVER (manually, ether the long way or sending it the HUP signal, or via yast). -- Few problems cannot be solved by proper application of high explosives. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org