Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-01-2006, 03:52 PM   #1
LQ Newbie
Registered: May 2005
Location: Inverary Ontario
Distribution: SuSE 9.2
Posts: 1

Rep: Reputation: 0
printer in Linux

I have been using Linux for several years. My favorite distribution is SuSE-Linux. Here is a question which I never could solve in all these years: What do you do in order to stop printing in case your printer produces garbage and you are an ordinary user with no root privileges. I have a partner who uses my computer, in particular she is using staroffice-5.2. Several times the last few month she wanted to stop the computer (a HP-Deskjet 930C on a parallel port) because for some reason or another the printer went into a crazy mode and printed out one page after the other full of incomprehensive stuff. I told her in this case to shut off the printer and call me. I then login as root and type on a terminal 'fuser -k /dev/lp0' as recommended by the SuSE people. Now the whole problem is solved: When I now turn on the computer it has calmed down and behaves normally. Indeed the command ps -aux shows that the printing process has been killed. My real question is to anybody out there who considers himself an expert in Linux: Why is the owner of the printing process started by a particular user not the user in question but the root administrator. Why is it necessary to have root privileges to stop this process? Don't you think that this is a little bit of security overkill at the cost of userfriendlyness? Regards, hansi

Last edited by hansi; 02-01-2006 at 03:58 PM.
Old 02-01-2006, 04:20 PM   #2
Registered: Feb 2005
Location: Ontario, Canada
Distribution: Gentoo, Slackware
Posts: 345

Rep: Reputation: 30
You could configure sudo to allow her to run that command as root.


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
Does XP attached printer need to be linux compatable for linux to use it? redpenguin Linux - Newbie 9 01-02-2006 02:39 PM
Help printer from a samba shared printer from linux (using cups) epod69 Linux - Networking 3 12-04-2005 11:44 PM
Linux (Cups) printer visible to windows, invisible to linux boxes ? johnvoisey Linux - Networking 2 02-27-2004 03:57 AM
keeping printer on at bootup keeps printer from printing (some printer modules loaded TheOneAndOnlySM Slackware 1 10-17-2003 08:39 PM
Linux to Linux Printer sharing with Samba jweby Linux - Networking 2 06-06-2003 08:30 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:40 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration