LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-21-2010, 08:45 AM   #1
jbspain
LQ Newbie
 
Registered: Oct 2010
Posts: 12

Rep: Reputation: 0
Setting up CUPS Server


Hi,

I've setted up a CUPS Server and I was wondering if it possible to disable the option of printers and jobs from the webpage.
I don't want users to see the jobs which are going to be printed from other users.
Should I modify something from the cupsd.conf file?

Thanks in advance!
 
Old 12-21-2010, 01:53 PM   #2
fortez
Member
 
Registered: May 2009
Posts: 35

Rep: Reputation: 0
I don't know if it is possible to delete printer and job options from web page, but i think you can limit job list to owner by a policy in cupsd.conf

<Policy default>
<Limit Get-Jobs>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
</Policy>

So Job list operations must be done by the owner or an administrator

You can see much about policy in
http://www.cups.org/documentation.ph...upsd-conf.html
 
Old 12-22-2010, 04:19 AM   #3
jbspain
LQ Newbie
 
Registered: Oct 2010
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by fortez View Post
I don't know if it is possible to delete printer and job options from web page, but i think you can limit job list to owner by a policy in cupsd.conf

<Policy default>
<Limit Get-Jobs>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
</Policy>

So Job list operations must be done by the owner or an administrator

You can see much about policy in
http://www.cups.org/documentation.ph...upsd-conf.html
Thanks for your help, it was very useful!!
I've used the CUPS-Get-Printers Limit and that way users can't see the printers.

Another issue I have is that if I go to IE and type http://hostname:631 it does'nt resolve the name. If I do the same with port 8080 it works fine. Is there any option to add in the cupsd.conf file?

Thanks!!
 
Old 12-22-2010, 05:42 AM   #4
fortez
Member
 
Registered: May 2009
Posts: 35

Rep: Reputation: 0
You have to check Listen directive in cupsd.conf....
Perhaps cupsd is listening on 8080 port and not 631
 
Old 12-23-2010, 07:59 AM   #5
jbspain
LQ Newbie
 
Registered: Oct 2010
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by fortez View Post
You have to check Listen directive in cupsd.conf....
Perhaps cupsd is listening on 8080 port and not 631
No, it's on 631. As I say I can access to it with IP:631 but not HOSTNAME:631

Is there any possibility of disabling the whole webpage?

Thanks again
 
Old 12-28-2010, 05:25 AM   #6
fortez
Member
 
Registered: May 2009
Posts: 35

Rep: Reputation: 0
why to disable web page?
You can limit access to admin user.
Fot the other issue (iport reachable but not hostnameort) it seems to be a dns configuration issue
 
Old 12-29-2010, 03:01 AM   #7
jbspain
LQ Newbie
 
Registered: Oct 2010
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by fortez View Post
why to disable web page?
You can limit access to admin user.
The reason to disable the web page is because the customer doesn't want to see it...
Can I limit the access to admin user for the whole webpage? How?
 
Old 12-30-2010, 03:23 AM   #8
fortez
Member
 
Registered: May 2009
Posts: 35

Rep: Reputation: 0
i mean to limit admin section of web page
I don't now if it is possible to limit access to whole page
Perhaps you have to set up access in < Location />, which is the root of cups system, but i'm not sure about this
 
  


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
Need help setting up CUPS JosephS Linux - Software 3 04-25-2010 09:17 AM
CUPS problem - connecting to local printer as well as CUPS server bobm2011 Linux - Newbie 4 01-11-2010 07:28 AM
Setting up CUPS with a print server ZackTheSpacestation Linux - Hardware 2 01-23-2006 01:11 PM
Setting up HP printer with CUPS tuxedo-notebook Linux - Hardware 3 03-31-2005 08:12 PM
remote cups printing to a smb/cups print server? justanothergeek Linux - Networking 2 09-15-2004 08:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:02 AM.

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