Commit bf1ae88e authored by Martin Klimeš's avatar Martin Klimeš
Browse files

add warning about plain text password

parent 85b46acf
......@@ -13,6 +13,7 @@ Script for installing faculty printers on Linux via Samba print server.
## Disadvantages
- Printers have to be installed one by one.
- Password will be stored at `/etc/cups/printers.conf` in plain text format.
- This is not the preferred way of printing on FI. (Preferred way is via Kerberos.)
......
......@@ -148,6 +148,8 @@ sub encode_uri {
sub get_url {
my ($printer_name) = @_;
my $user = encode_uri(prompt_username());
say "Warning! Password will be stored in plain text in /etc/cups/printers.conf";
say "This is limitation of the CUPS/SMB method. To exit press Ctrl + c.";
my $password = encode_uri(prompt_password());
$printer_name = encode_uri($printer_name);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment