Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
unix
FI printers over Samba on Linux
Commits
bf1ae88e
Commit
bf1ae88e
authored
Nov 04, 2021
by
Martin Klimeš
Browse files
add warning about plain text password
parent
85b46acf
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
bf1ae88e
...
...
@@ -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.)
...
...
install.pl
View file @
bf1ae88e
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment