LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 04-09-2020, 04:53 AM   #1
Jerb44
LQ Newbie
 
Registered: Oct 2019
Location: Bristol, UK
Distribution: PCLOS
Posts: 5

Rep: Reputation: Disabled
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)
 
Old 04-09-2020, 05:48 AM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,817

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
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
Code:
man cupsd.conf
 
Old 04-09-2020, 05:52 AM   #3
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,817

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
You can get the current printer name(s) and status using...
Code:
lpstat -p
Then re-enable using...
Code:
su -c "cupsenable printer_name"
 
Old 04-09-2020, 05:54 AM   #4
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,597
Blog Entries: 19

Rep: Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455Reputation: 4455
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.
 
Old 04-09-2020, 05:55 AM   #5
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,817

Rep: Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144Reputation: 1144
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.
 
Old 04-09-2020, 09:03 AM   #6
Jerb44
LQ Newbie
 
Registered: Oct 2019
Location: Bristol, UK
Distribution: PCLOS
Posts: 5

Original Poster
Rep: Reputation: Disabled
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.
 
Old 04-09-2020, 11:13 AM   #7
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,142

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
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.
  


Reply

Tags
cups, printer, resume



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
desktop suspends? but reboots on resume as a result of runlevel 0 on resume? dimm0k Slackware 5 04-06-2020 01:46 PM
resume: could not stat the resume device file Zaskar Debian 17 03-29-2012 10:10 PM
[SOLVED] Why do nVida drivers hose suspend/resume or hibernate/resume? taylorkh Linux - Hardware 3 06-23-2011 01:09 PM
resume: cannot stat resume device file sixerjman Linux - Kernel 0 05-27-2007 03:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 01:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration