Bugzilla – Attachment 33020 Details for
Bug 13143
Add a tool to show a Koha's password
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13143 - follow up - usability improvements
Bug-13143---follow-up---usability-improvements.patch (text/plain), 1.03 KB, created by
Liz Rea
on 2014-10-31 03:48:18 UTC
(
hide
)
Description:
Bug 13143 - follow up - usability improvements
Filename:
MIME Type:
Creator:
Liz Rea
Created:
2014-10-31 03:48:18 UTC
Size:
1.03 KB
patch
obsolete
>From 656208b5048c6990509a8a7fca794897548c2229 Mon Sep 17 00:00:00 2001 >From: Liz Rea <liz@catalyst.net.nz> >Date: Fri, 31 Oct 2014 16:34:31 +1300 >Subject: [PATCH] Bug 13143 - follow up - usability improvements > >* makes sure output is not on the line with the prompt >* adds ability to clear screen after password display > >Same test plan as for original bug. >--- > debian/scripts/koha-passwd | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >diff --git a/debian/scripts/koha-passwd b/debian/scripts/koha-passwd >index 0cd49aa..1f14e26 100755 >--- a/debian/scripts/koha-passwd >+++ b/debian/scripts/koha-passwd >@@ -45,7 +45,11 @@ EOF > for name in "$@" > do > if is_instance $name ; then >- xmlstarlet sel -t -v 'yazgfs/config/pass' /etc/koha/sites/$name/koha-conf.xml >+ passwd=$(xmlstarlet sel -t -v 'yazgfs/config/pass' /etc/koha/sites/$name/koha-conf.xml); >+ echo "Password for $name: $passwd" >+ echo "Press any key to clear the screen..." >+ read anykey >+ clear > else > warn "Unknown instance $name." > fi >-- >1.9.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 13143
:
32682
|
32685
|
32686
|
32687
|
33019
|
33020
|
33962
|
33963
|
33964
|
36435
|
40817
|
46924
|
46925
|
46926
|
46927
|
46985
|
46986
|
46987
|
46988