Bug 3077

Summary: smb print user's password stored in world-readable plaintext
Product: [Retired] Red Hat Linux Reporter: George Karabin <gkarabin>
Component: printtoolAssignee: David Lawrence <dkl>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0Keywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-06-08 18:51:40 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description George Karabin 1999-05-26 22:33:32 UTC
I have my machine configured to print to a print server
running on a Windows box. The password for the Windows
domain account that is used for printing appears to be
stored in plaintext in the following file, which is world
readable:

-r-xr--r--   1 root     root           83 May 24 09:22
/var/spool/lpd/lp/.config

I believe that this file is created by the printtool
package, but I haven't investigated very much.

It seems that the password ought to be encrypted no matter
what, and if there is no reason to leave it world readable,
I'd change the permissions from 0544 to 0540.

Comment 1 David Lawrence 1999-06-08 18:51:59 UTC
This may be changed for the next release but is not designed to be
used with the same username and password as a real linux account. A
warning message is generated from printtool explaining this when a SMB
printer is created. Please create a dummy account on the print server
for print jobs from the Linux box to be sent to so real user names and
passwords have to be used.