Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Resetting CUPS Password
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
A.S. Pushkin
Apprentice
Apprentice


Joined: 09 Nov 2002
Posts: 298
Location: dx/dt, dy/dt, dz/dt, t

PostPosted: Tue Mar 19, 2019 6:26 pm    Post subject: Resetting CUPS Password Reply with quote

As usual CUPS never works after a Portage upgrade, but that's
not the big problem. When logging in with my browser
if I suspend my printer it allows me to log in. When I want to
restart the printer it refuses the exact same login name
and password.

This is a stand alone machine with a local printer. How can
I reset the login name and password? I did not use the original
"root" as a login. Big mistake.

I would like to return to the default and start over.

TIA
_________________
ASPushkin

"In a time of universal deceit - telling the truth is a revolutionary act." -- George Orwell
Back to top
View user's profile Send private message
Fitzcarraldo
Veteran
Veteran


Joined: 30 Aug 2008
Posts: 1631
Location: United Kingdom

PostPosted: Wed Mar 20, 2019 1:40 am    Post subject: Reply with quote

When the CUPS browser GUI prompts you for a username and password, do you mean that it does not accept 'root' for the username and the root user's password for the password?

What do the following commands return?:

Code:
grep SystemGroup /etc/cups/cups-files.conf

Code:
grep lp /etc/group

_________________
Clevo W230SS: amd64 OpenRC elogind nvidia-drivers & xf86-video-intel.
Compal NBLB2: ~amd64 OpenRC elogind xf86-video-ati. Dual boot Win 7 Pro 64-bit.
KDE on both.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
A.S. Pushkin
Apprentice
Apprentice


Joined: 09 Nov 2002
Posts: 298
Location: dx/dt, dy/dt, dz/dt, t

PostPosted: Fri Mar 22, 2019 3:58 pm    Post subject: Reply with quote

Yes, that's right. I could simply uninstall I suppose and then reinstall, but I must consider there is some config
file that would remain.

I'd like to just get rid of CUPS as it is flakey on my printer. By that I mean after an update the printer
may work fine though not fast. With the next portage update it then will no longer print.

Thank you

Edit: grep SystemGroup /etc/cups/cups-files.conf
returns: lpadmin

grep lp /etc/group
returns: lp:x:7:lp
lpadmin:x:106:
_________________
ASPushkin

"In a time of universal deceit - telling the truth is a revolutionary act." -- George Orwell
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum