LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-08-2005, 06:05 PM   #1
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Mint, MX, antiX, SystemRescue
Posts: 2,337

Rep: Reputation: 358Reputation: 358Reputation: 358Reputation: 358
CUPS + smb: Cleartext passwords: Can they be hidden?


I currently have CUPS setup to print using smb. Works like a champ. However, login and password details are required. These are stored in cleartext in /etc/cups/printers.conf (at least on a Debian system this is where they are). This is not so bad, as the average user cannot read this file.

However, the average user CAN go to http://localhost:631/printers and see the login and password clear as day right there in the DeviceURI line.

Is there some alternate way to configure this so these sensitive details are not out in the open?

The printer was configured from the command line thusly:
Code:
lpadmin -p printername -v smb://login: password@host_name/share_name -P /usr/share/cups/model/XYZ.ppd
/usr/bin/enable printername
/usr/sbin/accept printername
lpadmin -d printername
Note: No actual space between the "login:" and "password" in the lpadmin command above, but without that space ": p" comes out as a smiley!
 
  


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
adding smb printer under cups glock19 Linux - General 1 01-31-2007 06:14 AM
remote cups printing to a smb/cups print server? justanothergeek Linux - Networking 2 09-15-2004 09:31 AM
cups, smb printing problem? lynchmob09 Linux - Networking 0 02-16-2004 09:43 AM
smb cups + xp ..help needed doublefailure Slackware 0 03-13-2003 08:06 AM
Cups and smb printing with RH 7.3 Sylhouette Linux - Software 0 05-13-2002 01:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:48 AM.

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