cups user authentication for remote users: make it ask for a password!

Johnneylee Rollins johnneylee.rollins at
Sat Feb 6 03:25:15 UTC 2010

On Fri, Feb 5, 2010 at 7:19 PM, Paul Johnson <pauljohn32 at> wrote:
> On Thu, Feb 4, 2010 at 1:09 PM, NoOp <glgxg at> wrote:
>> On 02/03/2010 11:02 AM, Paul Johnson wrote:
>>> I can't understand cups configuration for a network server.  I want to
>>> print from my laptop to my desktop, and it works fine to enable
>>> sharing in cups.
>>> However, that makes my desktop printer available to everybody on the
>>> subnet.  There does not appear to be a way to specify "all users on my
>>> desktop computer" plus "paul on a remote system when he gives a
>>> password". The cups user control thing seems to have no password
>>> authentication framework.
>> I think you are mixing references to 'network server' vs desktop
>> attached printer?
> Well, I don't think I'm confusing the two. I think they are ACTUALLY
> the same.  My desktop computer is running CUPS and is acting as a
> print server.
> Observe the doc you refer me to
> Ubuntu Print Server  (running on my desktop) makes the printer
> available on the subnet. I need that so I can print from my laptop.
> It does not provide a way for me to keep out other users on the subnet.
> Anybody who has a print client that can scan the subnet will see my
> printer and can send jobs to it.
> I agree with you that the user identity option in Ubuntu's
> system-config-printer is intended for local users on the desktop
> "server" system itself. And that's my point. There is no way to keep
> out other users on the subnet.
> Am I just reading all this wrong?  If so, tell me how to secure my
> desktop "print server" to stop neighbors on the network from sending
> jobs to me.  For the life of me, I can't see how to do it.
> I see where I could use iptables to block some IP addresses, but since
> my PC is on DHCP, and it could get any different number, that's
> impractical.
> pj
 1st order of business, don't top post.
Also, linux isn't like windows. It has the ability to handle multiple
users. You can create a user for your laptop to connect and print
with. It's really simple.

My diagnosis (I've been watching nip/tuck) is to add a user for you to
print with. I might be completely off though, I don't ever print with
computers and printers.


More information about the ubuntu-users mailing list