LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-08-2007, 03:53 AM   #1
firsara
LQ Newbie
 
Registered: Feb 2005
Posts: 14

Rep: Reputation: 0
CUPS with password


I would like to configure CUPS in a way, that when I print from a "normal" user of the same computer I have to authentificate with password in order to print.
Can somebody help me to configure this ?
 
Old 08-09-2007, 04:04 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
You might be able to do something with PAM. I'm not sure.

If, however, you are trying to restrict the use of printers to certain user accounts then you can do this within the CUPS administration GUI. You can use a web browser on the computer with the printer and put in the address localhost:631. Click on "Manage Printers", then click on a specific printer. You will see at the bottom a link labeled "Set Allowed Users". You can either put in user accounts that are allowed to use the printer or you can put in user accounts that are denied access to the printer.
 
Old 08-09-2007, 07:30 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Or, if you don't trust web-based tools with your config files:

Manually edit the printer section of cupsd.conf, add basic
authentication ... read the VERY helpful comments in the file
(if your distro maintainer hasn't decided to remove them stupidly,
like on Ubuntu, for instance) .... it's quite easy.



Cheers,
Tink
 
Old 08-27-2007, 07:46 AM   #4
firsara
LQ Newbie
 
Registered: Feb 2005
Posts: 14

Original Poster
Rep: Reputation: 0
DefaultAuthType Basic

I have the "DefaultAuthType Basic" option in the cupsd.conf, but with this cups don't ask me for a password.
 
  


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
password for cups barrythai SUSE / openSUSE 1 02-11-2005 08:57 AM
CUPS: Username and password. aliiscool Linux - Software 6 07-15-2004 05:51 PM
How do you get a password in to CUPS? ikw38 Linux - Software 1 04-15-2004 06:46 AM
Cups Password??????? TazLinux Linux - General 1 11-24-2003 11:52 PM
cups password watashiwaotaku7 Linux - Software 1 06-29-2003 01:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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