Configuring cups Debian 8 from command line

Help with issues regarding installation of Debian

Configuring cups Debian 8 from command line

Postby tyrion » 2018-11-25 12:29

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.
tyrion
 
Posts: 1
Joined: 2018-11-25 12:19

Re: Configuring cups Debian 8 from command line

Postby milomak » 2018-11-25 16:41

as root, what is the output of users?
Desktop: iMac Late-2015 27" 5K Retina (17,1 - 3.3GHz) - MacOS and Windows 10 (Bootcamp)/ Debian Sid (External SSD)
Laptop: Lenovo ideapad Y700 [nVidia Optimus] (64-bit) - Debian Sid, Win10,
Kodi Box: AMD Athlon 5150 APU w/Radeon HD 8400 - Debian Sid
milomak
 
Posts: 1855
Joined: 2009-06-09 22:20

Re: Configuring cups Debian 8 from command line

Postby llivv » 2018-11-29 04:31

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/
User avatar
llivv
 
Posts: 5705
Joined: 2007-02-14 18:10
Location: cold storage


Return to Installation

Who is online

Users browsing this forum: Zjho and 6 guests

fashionable