t_fischer: (meh)
Thomas Fischer ([personal profile] t_fischer) wrote in [community profile] linux4all2011-01-25 01:59 pm
Entry tags:

Using CUPS to print on Windows printer share: How to protect your password?

Hello, I am currently using my Linux system in a Microsoft/Windows dominated environment. This means that even the printing service is accessible via the smb protocol only when using CUPS on my own machine.

Using the Windows-based printing system requires me to authenticate using a user name and a password. This is achieved by having a line like
DeviceURI smb://user:password/printer
in your /etc/cups/printers.conf. This means, my password is written in clear plain text in a configuration file on every Linux system I want to print from.

How do I protect my Windows password? Is there some PAM magic available? Using hashes instead of plain text? As my Linux system uses its own login system, the local password does not match the Windows password.


Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org