Koha/debian/scripts
Liz Rea 4c781d9911 Bug 13143 - Detect if the password is in a pipe
1. cd kohaclone/debian/scripts
2. sudo koha-passwd instance | cat
   Output should be password only
3. sudo koha-passwd instance
   Output should be "Password for $instance is: $password"

Does this get at what you were wanting, Robin?

NOTE:
$ cd ~
$ sudo mkdir /etc/koha
$ sudo mkdir /etc/koha/sites
$ sudo mkdir /etc/koha/sites/library
$ sudo ln -s ~/koha-dev/etc/koha-conf.xml /etc/koha/sites/library/koha-conf.xml
$ sudo mkdir /usr/share/koha
$ sudo ln -s ~/kohaclone/debian/scripts /usr/share/koha/bin

This will fake out your system enough to get koha-passwd to run in your git
system. Since you are using your git system, no need for the sudo's in
steps 2 & 3. And no need to roll a custom build to test it.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
2016-01-27 06:27:08 +00:00
..
koha-create Bug 14674: [QA Follow-up] Typos and textual adjustment 2015-10-23 10:09:32 -03:00
koha-create-dirs Bug 14674: koha-create should populate upload_path 2015-10-23 10:09:32 -03:00
koha-disable Bug 13785: (QA followup) koha-disable should stop the indexer daemon 2015-03-11 14:43:32 -03:00
koha-dump Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-dump-defaults Bug 5509 - use an XML parser to get values from config 2011-04-28 13:35:25 +12:00
koha-email-disable Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-email-enable Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-enable Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-enable-sip Bug 9250 - [SIGNED-OFF] provide commands to manage the SIP server 2013-05-01 22:03:13 -04:00
koha-foreach Bug 13791: make koha-list aware of plack 2015-08-24 13:00:41 -03:00
koha-functions.sh Bug 14361: koha-restart-zebra fails and probably breaks upgrade 2015-08-26 10:42:04 -03:00
koha-indexer Bug 15011: koha-indexer should define the --pidfiles on starting the daemon 2015-11-10 15:17:45 -03:00
koha-list Bug 13791: make koha-list aware of plack 2015-08-24 13:00:41 -03:00
koha-mysql Bug 12372: (QA followup) Standardized argument parsing for koha-mysql. 2015-08-24 13:18:08 -03:00
koha-mysqlcheck Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-passwd Bug 13143 - Detect if the password is in a pipe 2016-01-27 06:27:08 +00:00
koha-plack Bug 13791: Plack out-of-the-box support on packages 2015-08-24 13:00:39 -03:00
koha-rebuild-zebra Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-remove Bug 9754: koha-remove optionally includes var/lib and var/spool 2016-01-27 02:29:11 +00:00
koha-reset-passwd Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-restart-zebra Bug 13896: (QA followup) fix koha-{stop|restart}-zebra too 2015-04-08 14:56:44 -03:00
koha-restore Bug 11404: koha-functions.sh introduced for reuse 2014-05-19 21:49:06 +00:00
koha-run-backups Bug 9260: stop koha-run-backups complaining "missing ]" 2012-12-21 08:11:39 -05:00
koha-shell Bug 15012: use sudo instead of su in koha-shell 2015-10-22 00:02:50 -03:00
koha-start-sip Bug 7904 - remove unnecessary path from SIP script 2015-02-05 14:44:48 -03:00
koha-start-zebra Bug 13896: Fix pid file creation, use proper directory instead of /tmp/ 2015-04-08 14:47:46 -03:00
koha-stop-sip Bug 9250 - [SIGNED-OFF] provide commands to manage the SIP server 2013-05-01 22:03:13 -04:00
koha-stop-zebra Bug 13896: (QA followup) fix koha-{stop|restart}-zebra too 2015-04-08 14:56:44 -03:00
koha-translate Bug 14203: Message for non-existent lang removal 2015-05-26 10:42:05 -03:00
koha-upgrade-schema Add koha-upgrade-schema, a script to upgrade the database schema. 2010-05-25 07:59:35 -04:00
koha-upgrade-to-3.4 Bug 6651 - fix splitting of names when updating to 3.4 2011-09-13 10:29:12 +12:00