LinuxQuestions.org
Visit Jeremy's Blog.
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 04-09-2011, 06:14 AM   #1
samhill5215
Member
 
Registered: Apr 2011
Posts: 46

Rep: Reputation: 1
cups admin fails


I am unable to access cups admin via 631 port. Since I'm running non-desktop server I can't use localhost:631. In cupsd.conf I added a listen line for the client machine ip (the one I use to access cups) but no go. I also added Allow directives with this ip in the <Location> blocks. Nothing works. Cups server is running.

I read somewhere about adding the cupsys user to the shadow group but I have no such user.

Any ideas?
 
Old 04-09-2011, 06:30 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,639

Rep: Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279Reputation: 6279
Make sure your firewall if running allows traffic on 631/tcp.
You can use a command line web browser like lynx or elinks to access cups via localhost:631.
 
Old 04-09-2011, 07:06 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608Reputation: 3608
...or a SSH tunnel from client to server and redirect your browser to the local tunnel port.
 
Old 04-12-2011, 08:06 AM   #4
samhill5215
Member
 
Registered: Apr 2011
Posts: 46

Original Poster
Rep: Reputation: 1
There's more than one way to skin a cat. Here's what I did all in /etc/cups/cupsd.conf:

I changed Listen localhost:631 to Port 631
I added Allow all to <Location />, <Location /admin> and <Location /admin/conf>
The only other line in those three spots is Order allow, deny

These settings might seem overly permissive but I believe the <Limit> sections provide sufficient protection.

Anyway now it all works spotlessly. I really shouldn't take credit for this. I found the solution in https://wiki.archlinux.org/index.php...e_and_tool-kit
 
  


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
CUPS: remote admin sysman Slackware 6 10-05-2007 12:36 AM
Admin cups Jeebizz Slackware 2 08-11-2007 02:03 PM
CUPS admin tool hangs coshx Linux - Software 0 09-11-2004 02:38 AM
cups admin legin Debian 2 05-29-2004 08:52 AM
CUPS - cannot access admin page Vincent_Vega Linux - Software 0 03-18-2004 01:20 AM

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

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