LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-16-2013, 08:55 PM   #16
irgunII
Member
 
Registered: Jan 2012
Location: Directly above the center of the earth
Distribution: Slackware. There's something else?
Posts: 383

Original Poster
Rep: Reputation: 72

Well...looks like I found something that fixed it before I came back here and saw your post, allend.

I happened to see a 'FAQs & TroubleShooting' and a link to 'I'm finding it difficult to install the printer driver.' http://welcome.solutions.brother.com...rn.html#f00104

Went to that link and found this waiting for me there...

Quote:
We have created a tool to help you easily install the printer driver. Follow these instructions to download and use the tool:

Note: This tool will install the printer driver automatically, changing the install directories, links and system settings without notice.

For USB Users:
Connect your Brother machine to the PC before starting to follow the instructions.
They supply an tarball that downloads and installs everything needed (the cupswrapper and the lpr both).

It all seems to work but still the only problem is the web based controls of cups. The other thing in the KDE menu works just fine for user and root and does just as much without using as much RAM and other space on the screen, heh.

It's not exactly 'solved', but I have a feeling it's the best that might happen...unless of course anyone wishes to keep trying, which I'm more than willing to keep attempting any suggestions.

Last edited by irgunII; 11-16-2013 at 08:58 PM.
 
Old 11-16-2013, 09:24 PM   #17
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,487

Rep: Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809
Quote:
*BUT*...in a browser at the printer admin, I *still* cannot delete a/any printers using the user or root
This is fine for me.
1. Point browser to http://localhost:631
2. Select the Printers tab
3. Select the Queue Name
4. Select Maintenance in the top left drop down box
5. Select Delete Printer in the top right drop down box

I have not investigated that Brother tool, but I think you are still better off making packages and installing those rather than allowing a script to do this automatically. It allows for a clean removal of the drivers if required.
Also, I suspect that the Brother tool would still require a symlink 'ln -s /etc/rc.d/rc.cups /etc/init.d/cups' to be able to work properly.
 
Old 11-16-2013, 10:07 PM   #18
irgunII
Member
 
Registered: Jan 2012
Location: Directly above the center of the earth
Distribution: Slackware. There's something else?
Posts: 383

Original Poster
Rep: Reputation: 72
Quote:
Originally Posted by allend View Post
This is fine for me.
1. Point browser to http://localhost:631
2. Select the Printers tab
3. Select the Queue Name
4. Select Maintenance in the top left drop down box
5. Select Delete Printer in the top right drop down box
Yessir, tried that, quite a few times and still it won't let root or user do anything other than *add* printers and do test pages. Really, really weird, heh.

Quote:
Originally Posted by allend View Post
I have not investigated that Brother tool, but I think you are still better off making packages and installing those rather than allowing a script to do this automatically. It allows for a clean removal of the drivers if required.
Also, I suspect that the Brother tool would still require a symlink 'ln -s /etc/rc.d/rc.cups /etc/init.d/cups' to be able to work properly.
I looked inside the installer and it *does* have a section in there to link those in a few different linux distro's. The installer is also written and given to us under the GPL, so it can be maintained or made better or just whatever by anyone wishing to (if I were a programmer, I'd jump on this and take out the parts I need and put it together to make it work as a Slackware build!). Also forgot...it comes with an installer and an uninstaller, the thing I found on the faq page. Gonna use it now, heh.

Anyway, since the same exact drivers were downloaded and installed as rpm's, it'll be a cinch to find them in the system and uninstall them...which I think I'll do...so I can do as you suggest and create them as txz builds and install them the way they should be for a Slackware system.

Thanks for all your help so far, it hasn't been in vain, honest. Hopefully someone will figure out why root and user can't use the web interface to control cups. I'll let everyone know how it goes after uninstalling all the drivers and such and doing it with txz's for Slackware.

Last edited by irgunII; 11-16-2013 at 10:09 PM.
 
Old 11-16-2013, 10:35 PM   #19
irgunII
Member
 
Registered: Jan 2012
Location: Directly above the center of the earth
Distribution: Slackware. There's something else?
Posts: 383

Original Poster
Rep: Reputation: 72
Okay, removed all the drivers that the installer installed, changed the rpm's to txz's and installed them with installpkg (scanner files first, then lpr then cupswrapper).

Went to add a printer via the web interface of cups...still won't let me do it as root or user.
 
Old 11-17-2013, 02:21 AM   #20
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,487

Rep: Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809
Does /etc/cups/cupsd.conf contain these stanzas?
Code:
# Administrator user group...
SystemGroup sys root
and
Code:
<Policy default>
...
  # All administration operations require an administrator to authenticate...
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>
...
</Policy>
 
Old 11-17-2013, 09:07 AM   #21
irgunII
Member
 
Registered: Jan 2012
Location: Directly above the center of the earth
Distribution: Slackware. There's something else?
Posts: 383

Original Poster
Rep: Reputation: 72
Quote:
Originally Posted by allend View Post
Does /etc/cups/cupsd.conf contain these stanzas?
Code:
# Administrator user group...
SystemGroup sys root
and
Code:
<Policy default>
...
  # All administration operations require an administrator to authenticate...
  <Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
    AuthType Default
    Require user @SYSTEM
    Order deny,allow
  </Limit>
...
</Policy>
Yes to both.
 
Old 11-17-2013, 09:10 AM   #22
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,487

Rep: Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809Reputation: 2809
I am out of ideas. Perhaps reinstall the CUPS package?
 
Old 11-17-2013, 02:26 PM   #23
irgunII
Member
 
Registered: Jan 2012
Location: Directly above the center of the earth
Distribution: Slackware. There's something else?
Posts: 383

Original Poster
Rep: Reputation: 72
Hmmm...is it just 'one' package? Would I need to do a 'search' on anything cups to delete it so that it truly would have a 'fresh new start' so-to-speak? It's been my experience that uninstalling something through pkgtool still often leaves a thing or two, like a .conf file here or a hidden file there and when the thing that was uninstalled is re-installed, no difference was made because it still has all the stuff to run on that one was hoping to get rid of.
 
Old 11-17-2013, 02:53 PM   #24
irgunII
Member
 
Registered: Jan 2012
Location: Directly above the center of the earth
Distribution: Slackware. There's something else?
Posts: 383

Original Poster
Rep: Reputation: 72
I went ahead and uninstalled and uninstalled anything 'cups'. Re-installed and still the same with the web interface. Oh well, I have that other thing I can use to admin cups, so I guess I'll be happy that I can still do that, heh.

Thank you everyone who tried to help get this figured out.
 
  


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
how can i write to a root:root 750 file with a non-root user? Droa Linux - Newbie 1 05-14-2012 08:49 PM
[SOLVED] how can i remount root filesystem as read/write after modify readonly-root file jcwkyl Linux - Newbie 3 12-21-2010 11:40 PM
why lftp command run failed when user isn't root, but ok when logining as root steven_yu Linux - Software 0 06-06-2007 09:36 PM
PCMCIA wifi card powerless Zaxor Fedora 12 09-09-2004 07:17 PM
root files: create as root:root or root:wheel? pcass Linux - Security 1 02-07-2004 05:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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