Skip to content

QUIQQER CLI : remove dafault Auto Login

The login should only come if the parameters --login or --username are passed

If the CLI is executed without parameters, only the help and listtools should show

  • help and listtools must be allowed to run without login
 Optional arguments
 --help                 This help text
 --listtools            Lists the available console tools
                        Only with the correct login
 # sudo -u www-data php7.2 quiqqer.php 

  _______          _________ _______  _______  _______  _______                                                                                                                                         
 (  ___  )|\     /|\__   __/(  ___  )(  ___  )(  ____ \(  ____ )                                                                                                                                        
 | (   ) || )   ( |   ) (   | (   ) || (   ) || (    \/| (    )|                                                                                                                                        
 | |   | || |   | |   | |   | |   | || |   | || (__    | (____)|                                                                                                                                        
 | |   | || |   | |   | |   | |   | || |   | ||  __)   |     __)                                                                                                                                        
 | | /\| || |   | |   | |   | | /\| || | /\| || (      | (\ (                                                                                                                                           
 | (_\ \ || (___) |___) (___| (_\ \ || (_\ \ || (____/\| ) \ \__                                                                                                                                        
 (____\/_)(_______)\_______/(____\/_)(____\/_)(_______/|/   \__/                                                                                                                                        


 Welcome to QUIQQER Version 1.3.1 - Last Update: 01/29/20                                                                                                                                               

 QUIQQER Copyright (C) 2020  PCSG  - Computer & Internet Service OHG - www.pcsg.de                                                                                                                      
 This program comes with ABSOLUTELY NO WARRANTY; for details type `php quiqqer.php licence`.                                                                                                            
 This is free software, and you are welcome to redistribute it under certain conditions;                                                                                                                
 visit www.quiqqer.com for details.                                                                                                                                                                     


Available System-Tools (Example: 'php quiqqer.php cron'): 
 - clear-all           - Leert alle variablen Daten (Cache, Temp, Sessions, Lock)
 - clear-cache         - Leert den kompletten Cache
 - clear-tmp           - Leert das Temp Verzeichnis
 - clear-sessions      - Löscht alle Sessions (Sitzungen)
 - clear-lock          - Löscht alle Lock Dateien
 - cron                - Führt die Cron Verarbeitung aus
 - update              - Führt ein System-Update aus
 - setup               - Führt ein System-Setup aus
 - password-reset      - Initiiert ein Passwort-Reset
 - package             - Paket verwaltung
 - permissions         - [quiqqer/quiqqer] console.systemtool.permissions
 - htaccess            - [quiqqer/quiqqer] console.systemtool.htaccess
 - nginx               - [quiqqer/quiqqer] console.systemtool.nginx
 - licence             - [quiqqer/quiqqer] console.systemtool.licence

btw.

  • add missing Translator Variables
 - permissions         - [quiqqer/quiqqer] console.systemtool.permissions
 - htaccess            - [quiqqer/quiqqer] console.systemtool.htaccess
 - nginx               - [quiqqer/quiqqer] console.systemtool.nginx
 - licence             - [quiqqer/quiqqer] console.systemtool.licence
von Henning Leutz bearbeitet