LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-11-2005, 01:11 PM   #1
cwin
LQ Newbie
 
Registered: Apr 2004
Distribution: Gentoo
Posts: 5

Rep: Reputation: 0
Setup secure CUPS on network


I have 2 computers running linux, and the occasional windows or mac (and maybe more in the future)...

domainname: quicknix.org
192.168.0.3 - tux
192.168.0.4 - laptop

Both computers have synchronised /etc/passwd, /etc/group and /etc/shadow files, and I have cups installed on them.

My printer is connected to tux, and is set up with cups.

At the moment
tux - cupsd.conf
Code:
ServerName quicknix.org
ServerAdmin root@quicknix.org
DocumentRoot /usr/share/cups/docs

User lp
Group lp
SystemGroup lp

Port 631

<Location />
 Order Deny,Allow
 Allow From All
</Location>

<Location /admin>
 AuthType Basic
 AuthClass System
 Order Deny,Allow
 Allow From All
</Location>

<Location /printers>
 AuthType Basic
</Location>
laptop - cupsd.conf
Code:
ServerName laptop.quicknix.org
ServerAdmin root@quicknix.org
DocumentRoot /usr/share/cups/docs

User lp
Group lp
SystemGroup lp

Port 631

Browsing On
BrowseProtocols CUPS
BrowseAddress 192.168.0.3
BrowseShortNames Yes
BrowseInterval 30
BrowseTimeout 300
BrowsePoll 192.168.0.3:631

<Location />
 Order Deny,Allow
 Allow From All
</Location>

<Location /admin>
 AuthType Basic
 AuthClass System
 Order Deny,Allow
 Allow From All
</Location>
So at the moment, laptop gets a list of printers from tux and uses ipp as far as I know.

All works fine, I can print over the network, but I want to set up user authentication so that I can restrict what users print what. Preferably the user authentication should be transparent for the user. They should be able to just hit print from either computer and it will print using their credentials so I can put in quotas. Also so users can cancel their own jobs if that's possible.

Does anyone know how to do this (using cups or kerberos or anything that may work)?
Preferably I would like it to work with samba also because sometimes I get a windows user on my network, and also so users can cancel their own jobs.

Also my printer occasionally disconnects from my system for no real reason. I think whoever uses my computer might sometimes knock the power cable a bit or something. This is fine, but when it plugs back in, cups doesn't automatically start the printer again.. Is there any way to make it start automatically?

Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Is this setup reasonably secure? The_JinJ Linux - Newbie 3 10-04-2005 09:34 PM
setup a secure proxy darkleaf Linux - Security 2 07-13-2005 08:58 PM
The correct/secure way to setup a webserver? ]SK[ Linux - Software 5 02-11-2005 03:34 AM
Secure Mail Server Setup djkene70 Linux - Networking 3 10-14-2003 02:29 PM
Trying to setup a secure webserver pyrombca Linux - Software 0 09-02-2003 06:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:07 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