Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-09-2020, 04:53 AM
|
#1
|
LQ Newbie
Registered: Oct 2019
Location: Bristol, UK
Distribution: PCLOS
Posts: 5
Rep: 
|
Denied permission to resume printer (pcLinux)
Cups is demanding a username and password in order to resume a printer. I've tried both my basic login and root passwords (although I had to assume root username = basic login version). Neither worked....help please.
(OS updated yesterday)
|
|
|
04-09-2020, 05:48 AM
|
#2
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 6,006
|
The CUPS admin group(s) is/are defined in /etc/cups/cups-files.conf and privileges for various actions defined in /etc/cups/cupsd.conf
Did you try username "root" and the root password?
More info
Code:
man cups-files.conf
|
|
|
04-09-2020, 05:52 AM
|
#3
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 6,006
|
You can get the current printer name(s) and status using...
Then re-enable using...
Code:
su -c "cupsenable printer_name"
|
|
|
04-09-2020, 05:54 AM
|
#4
|
LQ Guru
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 8,256
|
The root password should always work with cups. Your own login and password should work if you are in the cups admin group (usually called lpadmin but you can check the actual name by listing /etc/group)
I have noticed that some builds of cups stop giving you the option to log in if you once give a bad password. You have to reboot to get around that.
|
|
|
04-09-2020, 05:55 AM
|
#5
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 6,006
|
I'm not a PCLinux OS user, but cups-files.conf should contain an entry like this
Code:
# Administrator user group, used to match @SYSTEM in cupsd.conf policy rules...
# This cannot contain the Group value for security reasons...
SystemGroup lpadmin root
As long as your user account is a member of one of those groups, you should be able to use your regular user credentials.
|
|
|
04-09-2020, 09:03 AM
|
#6
|
LQ Newbie
Registered: Oct 2019
Location: Bristol, UK
Distribution: PCLOS
Posts: 5
Original Poster
Rep: 
|
Denied permission to resume printer (pcLinux)
Thanks everyone you have solved my problem which turned out to be that I didn't know that the userid for root is root!!!
You can all now confirm that I am a genuine Newbie.
|
|
|
04-09-2020, 11:13 AM
|
#7
|
LQ Veteran
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,243
|
Nice to hear that it's sorted. Incidentally, you might like to join the rest of us here:
https://www.pclinuxos.com/forum/
|
|
1 members found this post helpful.
|
All times are GMT -5. The time now is 03:14 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|