LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 09-22-2003, 01:04 PM   #1
shepper
Member
 
Registered: Mar 2003
Location: Dry, Dusty and Conservative
Distribution: OpenBSD, Debian Wheezy/Jessie
Posts: 449

Rep: Reputation: 33
CUPS - Slacware Current


I did a bare 9.0 install and then updated to slackware-current and all is working well except printer setup under the kde print wizard. I have cups 1.1.19 and the gimp-print drivers installed along with the foomatic filters.
Looking at dmesg I do not see that cups is starting.

I have tried to /etc/rc.d/rc.cups restart as root and get the error message that permission is denied.

Looking at permissions for rc.cups I have rw-r--r--. Shouldn't this be executable in order for rc.M to start the print spooling system?

Added info. From the current changelog
+--------------------------+
Mon Aug 25 19:56:00 PDT 2003
isolinux/initrd.img, rootdisks/install.*: Support more than one installation
disc. In expert or menu mode, run all the menus for each disc, and then
go on to install the packages from that disc. Various other bugfixes.
a/cups-1.1.19-i486-3.tgz: chmod 644 /etc/rc.d/rc.cups.new so that CUPS
will not run on a default installation until the admin changes the perms.
a/infozip-5.50-i486-2.tgz: Fixed a bug where a specially crafted archive
might try to write to ../ or ../../, etc, potentially overwriting system

What are the recommended perms?

Any help appreciated

Last edited by shepper; 09-22-2003 at 01:12 PM.
 
Old 09-22-2003, 01:18 PM   #2
wallison
Member
 
Registered: Jul 2003
Location: MD USA
Distribution: Slackware
Posts: 137

Rep: Reputation: 18
do chmod +x /etc/rc.d/rc.cups
 
Old 09-22-2003, 02:41 PM   #3
shepper
Member
 
Registered: Mar 2003
Location: Dry, Dusty and Conservative
Distribution: OpenBSD, Debian Wheezy/Jessie
Posts: 449

Original Poster
Rep: Reputation: 33
Because rc.cups is a startup script should root executable permissions be enough or will this prevent me from using cups as a user?
 
Old 09-22-2003, 03:56 PM   #4
wallison
Member
 
Registered: Jul 2003
Location: MD USA
Distribution: Slackware
Posts: 137

Rep: Reputation: 18
You may have a point there. I'm not positive, but what you say makes sense. I did the chmod +x because if you look at some of the other scripts in /etc/rc.d that are executable by default, such as rc.inet1 and 2, you'll see that the permissions are -rwxr-xr-x. That's why I say chmod +x.
 
Old 09-23-2003, 11:03 AM   #5
shepper
Member
 
Registered: Mar 2003
Location: Dry, Dusty and Conservative
Distribution: OpenBSD, Debian Wheezy/Jessie
Posts: 449

Original Poster
Rep: Reputation: 33
Not sure this is real secure but I looked at an 9.0 system and the permissions of rc.cups were -rwxr-xr-x (chmod 755) and that allowed the cups server to load and subsequently setup.
 
  


Reply



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
Slacware 9.0 problems... Schizo265 Slackware 14 11-05-2007 11:11 PM
Plesk for Slacware 9.1 Dakkar Linux - Software 1 06-08-2004 01:48 PM
CUPS problem in current hjles Slackware 6 08-22-2003 07:45 PM
slacware install CrazyTux Slackware 3 03-25-2003 10:10 PM
Slacware 8 and DSL rayflynn Linux - Software 5 05-02-2002 06:58 PM

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

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