Sponsored Content
Special Forums Cybersecurity printer security fedora core 5 / 6 Post 302255986 by jhalbert on Friday 7th of November 2008 02:01:46 PM
Old 11-07-2008
Question printer security fedora core 5 / 6

Ok
Here we go I have been totally thrown for a loop trying to lock out printers from select users on my network. I am running fedora core 5 and fedora core 6. I have IP printers in different departments through out the network. Each department only wants users in their department to print to their printer; currently any user on the network can send pri nt jobs to any department.

I thought that this would be a quick fix....boy was I wrong! Days later i am still trying to get this to work! So far I have tried the following solutions to fix the problem:
1. I went into CUPs and set an allowed users list(here I used the machine hostname as the username; also tried it usining the IP address)
2.I edited the cupsd.conf file to deny all and allow on the machine IP addresses that I listed.
<Location /printers/admindeptpr01>
order Deny,Allow
Deny From All
Allow From 192.168.0.12
Allow From 192.168.0.13
Allow From 192.168.0.14
...
Allow From 192.168.0.36
</Location>
3.I also edited the printers.conf file to only allow specific users.
Also I stoped and restarted the cups service after each change made to conf file.

If there is something that I am missing here, please point it out. Any help would be greatly appreciated.

Thanks in advance
 

10 More Discussions You Might Find Interesting

1. Linux

Fedora Core 2 Snapshot

These are not my desktop (I am still using FC1), they are from Internet forum. http://gator.dt.uh.edu/~yangm001/snapshot1.jpg http://gator.dt.uh.edu/~yangm001/snapshot2.jpg (0 Replies)
Discussion started by: HOUSCOUS
0 Replies

2. Linux

Using Fedora Core 2

I've been using FC2, but my sound card doesn't work I'm new with linux systems.. but there says that needs to recompile kernel how can i do it with a kernel 2.6.5 i386 ? by the way,. my sound card chipset is an ESS 1869F, with a compaq deskpro Smal Form Factor. but i have not found a... (4 Replies)
Discussion started by: Quake
4 Replies

3. Linux

Trying to install Fedora Core 3...

Hiya all, Hope you can help. I keep getting the same Error message when I try to install. I have tried several different Diskettes. And I finally ordered CDs from "FASTDISCs". The install "disc Checks" passed fine on these. The error: "The package usbitils-0.11.6.1 cannot be opened. ... (8 Replies)
Discussion started by: marty 600
8 Replies

4. Linux

Help with OpenGL in Fedora Core 4.

I'm pretty much new to this Linux stuff, I installed FC4 the other night to try it out. I'm having a slight problem when launching Quake 3, it's giving me the error GLimp_Init() - could not load OpenGL subsystem I've updated my video drivers to the latest version and went through fglrxconfig,... (3 Replies)
Discussion started by: Filth Pig
3 Replies

5. UNIX for Dummies Questions & Answers

Installing Fedora Core 4

Hello, I am about to install Fedora on a partition on my hard drive. I got the CD from a magazine and it isnt a LiveCD so the magazine says "fedora core installer isn't a LiveCD, so it will merrily destroy your primary partition when you install on your machine", now I'm guessing the primary... (1 Reply)
Discussion started by: ArkNia
1 Replies

6. UNIX for Dummies Questions & Answers

help installing fedora core 5

Hello I'm trying to install fedora core 5 and I'm currently at this screen here: http://fedora.redhat.com/docs/fedora-install-guide-en/fc5/figs/installingpackages.png However, the bottom bar is completely gray and there's nothing telling me the "status" of the install. I also told it to format... (2 Replies)
Discussion started by: obeseogre
2 Replies

7. UNIX for Dummies Questions & Answers

fedora core mailrelay

how do i change the mailrelay settings smtp for fedora core 4 to a new IP ? (1 Reply)
Discussion started by: dannyd
1 Replies

8. Linux

fedora core 6 problem

hi all i am currently using fedora core 3 . i downloaded the iso image of fedora core 6 but after installing the fedora core 6 . while starting linux it gives a error saying init is been killed . wht is happened? thank u (3 Replies)
Discussion started by: nageshrk
3 Replies

9. Linux

mysql in fedora core 4

hi i dont know much about linux but my boss gave me a job to backup all the mysql database and tables from fedora core4 running as web/database server. i can enter in fedora using remote desktop from my laptop but after that i am unable to do anything. if any one can help me in finding mysql and... (3 Replies)
Discussion started by: obstinate
3 Replies

10. SuSE

Navigation of Fedora Core 6

Hi. Not sure if this should go in the beginners section, so forgivness please if it's not correctly placed. I just installed Linux Fedora Core 6 on my home computer (and am very very new to this) so I can learn more about it. However, I am looking for the FC6 equivalent to the System Device... (2 Replies)
Discussion started by: Carl1976
2 Replies
lpstat(1)							    Apple Inc.								 lpstat(1)

NAME
lpstat - print cups status information SYNOPSIS
lpstat [ -E ] [ -H ] [ -U username ] [ -h hostname[:port] ] [ -l ] [ -W which-jobs ] [ -a [ destination(s) ] ] [ -c [ class(es) ] ] [ -d ] [ -o [ destination(s) ] ] [ -p [ printer(s) ] ] [ -r ] [ -R ] [ -s ] [ -t ] [ -u [ user(s) ] ] [ -v [ printer(s) ] ] DESCRIPTION
lpstat displays status information about the current classes, jobs, and printers. When run with no arguments, lpstat will list jobs queued by the current user. OPTIONS
The lpstat command supports the following options: -E Forces encryption when connecting to the server. -H Shows the server hostname and port. -R Shows the ranking of print jobs. -U username Specifies an alternate username. -W which-jobs Specifies which jobs to show, completed or not-completed (the default). This option must appear before the -o option and/or any printer names, otherwise the default (not-completed) value will be used in the request to the scheduler. -a [printer(s)] Shows the accepting state of printer queues. If no printers are specified then all printers are listed. -c [class(es)] Shows the printer classes and the printers that belong to them. If no classes are specified then all classes are listed. -d Shows the current default destination. -h server[:port] Specifies an alternate server. -l Shows a long listing of printers, classes, or jobs. -o [destination(s)] Shows the jobs queue on the specified destinations. If no destinations are specified all jobs are shown. -p [printer(s)] Shows the printers and whether or not they are enabled for printing. If no printers are specified then all printers are listed. -r Shows whether the CUPS server is running. -s Shows a status summary, including the default destination, a list of classes and their member printers, and a list of printers and their associated devices. This is equivalent to using the "-d", "-c", and "-v" options. -t Shows all status information. This is equivalent to using the "-r", "-d", "-c", "-v", "-a", "-p", and "-o" options. -u [user(s)] Shows a list of print jobs queued by the specified users. If no users are specified, lists the jobs queued by the current user. -v [printer(s)] Shows the printers and what device they are attached to. If no printers are specified then all printers are listed. COMPATIBILITY
Unlike the System V printing system, CUPS allows printer names to contain any printable character except SPACE, TAB, "/", and "#". Also, printer and class names are not case-sensitive. The "-h", "-E", "-U", and "-W" options are unique to CUPS. The Solaris "-f", "-P", and "-S" options are silently ignored. SEE ALSO
cancel(1), lp(1), http://localhost:631/help COPYRIGHT
Copyright 2007-2013 by Apple Inc. 10 September 2008 CUPS lpstat(1)
All times are GMT -4. The time now is 03:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy