Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Configuring cups Debian 8 from command line

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
tyrion
Posts: 1
Joined: 2018-11-25 12:19

Configuring cups Debian 8 from command line

#1 Post by tyrion »

I'm trying to install and configure CUPS in Debain 8.11 based httpd docker image.
I'm able to install CUPS version 1.7.5 in it.
I need to add the username to group -

Code: Select all

lpadmin
before adding the printer using lpadmin command.
But when I searched for username to add to the group using command - whoami command, this is what I'm getting

Code: Select all

whoami: cannot find name for user ID 1002710000
How do I assign a user name if it doesn't exist which is the main problem here.
If I can get the username, I can add it to lpadmin group. But how? It is asking me for root password eventhough I didn't set one.
Please help me fix this issue.

milomak
Posts: 2158
Joined: 2009-06-09 22:20
Been thanked: 1 time

Re: Configuring cups Debian 8 from command line

#2 Post by milomak »

as root, what is the output of users?
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid

User avatar
llivv
Posts: 5340
Joined: 2007-02-14 18:10
Location: cold storage

Re: Configuring cups Debian 8 from command line

#3 Post by llivv »

tyrion wrote:I'm trying to install and configure CUPS in Debain 8.11 based httpd docker image.
[,,,]
Please help me fix this issue.
https://www.docker.com/

which is probably where the OP issue is being worked on anyway

further reference for those into it - http://sven.stormbind.net/blog/posts/do ... cute_bits/

Post Reply