Opsi-Script Manual (4.12.4.17)

Total Page:16

File Type:pdf, Size:1020Kb

Opsi-Script Manual (4.12.4.17) opsi-script Manual (4.12.4.27) uib gmbh Table of Contents 1. Copyright . 2 2. opsi-script reference card (4.12.4.27). 3 2.1. Global text constants . 3 2.1.1. System directories . 3 2.1.2. Common (AllUsers) directories [W]: . 3 2.1.3. Default User directories [W]: . 4 2.1.4. Current user directories [W]: . 4 2.1.5. /AllUserProfiles directory constants [W/L/M]: . 4 2.1.6. opsi-script Path and Directories [W/L/M]: . 5 2.1.7. Network informations [W/L/M]: . 5 2.1.8. Service Data [W/L/M] . 5 2.1.9. Functions to handle constants [W/L/M] . 6 2.2. In Primary Sections . 6 2.2.1. Kinds of Primary Sections [W/L/M]: . 6 2.2.2. opsi-script control [W/L/M]: . 6 2.2.3. Variables [W/L/M]:. 8 2.2.4. Functions. 8 2.3. Secondary Sections. 20 2.3.1. Winbatch [W/L/M]. 20 2.3.2. DosBatch and DosInAnIcon (ShellBatch and ShellInAnIcon) [W/L/M]. 20 2.3.3. ExecWith [W/L/M]. 21 2.3.4. Files [W/L/M] . 22 2.3.5. Registry [W] . 23 2.3.6. Patches [W/L/M]. 24 2.3.7. PatchTextFile [W/L/M] . 25 2.3.8. LinkFolder [W/L/M] . 26 2.3.9. OpsiServiceCall [W/L/M] . 28 2.3.10. PatchHosts [W/L/M] . 28 2.3.11. XML2 Sections [W/L/M] . 29 2.3.12. XMLPatch [W] . 30 2.3.13. ExecPython [W/L/M]. 30 2.3.14. LdapSearch [W]. 30 2.4. By Topic . 30 2.4.1. Compare related functions [W/L/M] . 30 2.4.2. Crypt / Hash related functions [W/L/M]. 31 2.4.3. Defined Functions and Libraries [W/L/M] . 31 2.4.4. Encoding related functions [W/L/M] . 32 2.4.5. Error / Warning related functions [W/L/M] . 33 2.4.6. File related functions [W/L/M] . 34 2.4.7. Ini file related functions [W/L/M] . 35 2.4.8. Interaction [W/L/M] . 36 2.4.9. License Management related functions [W/L/M] . 36 2.4.10. Linux specific functions [W/L/M] . 37 2.4.11. Logging related functions [W/L/M]. 37 2.4.12. macOS specific functions [W/L/M] . 39 2.4.13. Network related functions [W/L/M] . 39 2.4.14. Number related functions [W/L/M] . 40 2.4.15. Operating System related functions [W/L/M]. 40 2.4.16. opsiservicecall and json Related functions [W/L/M]. 42 2.4.17. opsi related functions [W/L/M] . 43 2.4.18. Process and Script Related functions . 43 2.4.19. Regular expression related functions [W/L/M]:. 44 2.4.20. Registry related functions [W]. 45 2.4.21. String handling functions [W/L/M] . 46 2.4.22. Stringlist handling functions [W/L/M] . 47 2.4.23. Time / Date related functions [W/L/M]. 50 2.4.24. Usercontext / loginscripts related functions [W]: . 50 2.4.25. XML related functions (XML2) [W/L/M]: . 51 3. Introduction. ..
Recommended publications
  • Continous Deployment Mit Opsi Und Pipelines Osad 2018 Agenda
    CONTINOUS DEPLOYMENT MIT OPSI UND PIPELINES OSAD 2018 AGENDA Einleitung und Vorstellung Was ist opsi? Motivation Continous Deployment Neue Testumgebung QA VORSTELLUNG EROL UELUEKMEN @uib since 2003 Geschäftsführer der uib gmbh Core-Member in der opsi Entwicklung Support, Training und Services Rund um opsi Twitter: @eroluel UIB GMBH Gegründet 1995 Zusammenschluss von Systemverwaltern Von Anfang an Schwerpunkt in der Systemtechnik Creator und Maintainer von opsi UIB GMBH Aktuell 20 Mitarbeiter Sitz in Mainz Mitglied in der OSBA Twitter: @uibDE OPSI Enterprise OpenSource Clientmanagement und Conguration Management für Windows- und Linux- Clients. Twitter: @opsi_org OPSI opsi ist Modular einsetzbar. OPSI-MODULE OS-Deployment Software-Deployment Inventarisierung Congurationmanagement Patchmanagement OPSI ERWEITERUNGSMODULE Directory-Connector WAN/VPN-Modul (z.B.: Homeofce) Lizenzmanagement Local-Image / VHD-Reset UEFI-Support WIM-capture ... WARUM OPSI? Lange History (Startschuss war 1994) Bei Bedarf Herstellersupport Große opsi-Community Freie opsi-Repos WINDOWS UND LINUX- UNTERSTÜTZUNG Windows- und Linux-Unterstützung aus einer Codebase Automatisierung der Hersteller-Installer (kein chroot-Gebastel) Möglichkeit jegliche Skripte zu verwenden, wenn der Interpreter vorhanden ist MOTIVATION Clientmanagement != Servermanagement Einblick in die Entwicklung/Releasemanagement von opsi Erfahrungsaustausch CONTINOUS... ...hölle DISCLAIMER Folgende Ausführungen sind Interpretation und gelebte Prozesse. Das folgende hat nicht immer die selbe Funktion,
    [Show full text]
  • What Is Ipswitch WS FTP Server?
    User Guide Contents CHAPTER 1 WS_FTP Server Overview What is Ipswitch WS_FTP Server? ........................................................................................................................... 1 System requirements .................................................................................................................................................. 1 How FTP works .............................................................................................................................................................. 2 How SSH works.............................................................................................................................................................. 3 Sending feedback......................................................................................................................................................... 3 CHAPTER 2 Learning about WS_FTP Server Manager Understanding the server architecture ................................................................................................................ 5 Understanding the relationship between listeners and hosts..................................................................... 6 Accessing the WS_FTP Server Manager ............................................................................................................... 7 Managing WS_FTP Server remotely.......................................................................................................... 7 Navigating the WS_FTP Server Manager ............................................................................................................
    [Show full text]
  • Opsi Version 4.2 Release Notes
    opsi version 4.2 release notes uib gmbh Table of Contents 1. Copyright . 1 2. Overview of the new features . 2 3. Important information - please note . 3 3.1. Python 3. 3 3.1.1. Opsi packages containing server-side Python scripts. 3 3.1.2. Own Python scripts that use python-opsi (import OPSI) . 3 3.1.3. Backend extensions (/etc/opsi/backendManager/extend.d) . 3 3.2. File admin group pcpatch / opsifileadmins. 4 3.3. opsiconfd configuration and logs . 4 3.4. Verification of the server identity. 4 3.5. Depraction of opsi4ucs package . 5 4. Installation instructions . 6 4.1. Advice for updating the operating system packages . 6 4.2. Notes on updating opsi-packages . 6 4.3. Migration of an opsi 4.1 server . 6 4.3.1. Requirements for a migration . 6 4.3.2. Switching to the new repositories . 8 4.3.3. Upgrading the operating system packages . 10 4.3.4. Updating the opsi packages . 12 4.3.5. Opsi packages that contain server-side Python scripts . 12 5. Known bugs / known problems . 13 6. End of support. 14 6.1. EOL: opsi 4.1 Q4/2021. 14 6.2. End of support: Distributions for opsi-server . 14 7. opsi support matrix . 15 7.1. Supported distributions for server. 15 8. Changes in default settings. 16 9. Switch to Python 3 and PyInstaller . 17 10. MySQL backend: Limiting connection lifetime. 18 11. opsi support matrix for Linux clients . 19 11.1. Supported as opsi-client: Linux. 19 12. opsi support matrix for Windows clients.
    [Show full text]
  • Setup Dan Reset Password Root Mysql Pada Linux Ubuntu 18.04 Bionic Beaver
    Setup dan Reset Password Root MySQL pada Linux Ubuntu 18.04 Bionic Beaver Tutorial ini bertujuan untuk memperlihatkan cara mensetup dari awal atau mereset password bagi pengguga root dari server basis data MySQL versi 5.7 yang berjalan pada Linux Ubuntu 18.04 (Bionic Beaver). Sebagaimana diketahui, mulai Ubuntu 18.04, instalasi MySQL dan MariaDB server tidak dituntaskan dengan penentuan password root. Kita harus melakukannya secara manual. Panduan ini juga dapat digunakan untuk menuntaskan Instalasi MyQL Server dan MariaDB tersebut, termasuk pada distribusi Linux berbasis Debian dan Ubuntu seperti Elementary dan Linux Mint. Catatan: • Agar perintah yang dituliskan dalam tutorial ini dapat dieksekusi, pastikan anda login sebagai Admin dari sistem Linux anda, sebagai root atau melalui perintah sudo. • # - mengharuskan perintah Linux yang dicontohkan untuk dieksekusi dengan privileges root, secara lngsun atau melalui sudo • $ - mengharuskan perintah Linux dieksekusi sebagai pengguna non-privileged reguler. A. Reset Password Menggunakan mysql_secure_installation Pendekeatan paling sederhana untuk me-reset passwod root database server MySQL adalah dengan mengeksekusi program mysql_secure_installation dan tuliskan password yang diinginkan pada saat diminta memasukkan password root dari MySQL, seperti di bawah ini: $ sudo mysql_secure_installation .... Please set the password for root here. New password: Re-enter new password: Catatan: program mysql_secure_installation dijalankan saat server MySQL sedang berjalan. Silakan periksa dengan perintah $ sudo systemctl status mysqld Jika server dalam status mati (stop), jalankan dengan perintah berikut: $ sudo systemctl start mysqld 1 B. Reset Password Menggunakan skip-grant-tables Jika karena beberapa alasan, metode di atas tidk berhasil mereset password atau tetap tidak dapat masuk ke sistem MySQL, ada baiknya mengikuti langkah-langkah berikut untuk menggunakan - -skip-grant-tables sebagai alternatif untuk me-reset root password MySQL tersebut.
    [Show full text]
  • INSECURE-Mag-9.Pdf
    Another year is almost over and a plethora of information security problems are behind us. To let 2006 go out in style, we bring you a feature packed issue of (IN)SECURE. As the feature interview for this issue we had the pleasure of talking with Kurt Sauer, the CSO at Skype, one of the most well-known companies in the digital world. We’ll be back next year with many new ideas in the pipeline. Stay tuned for coverage from a few conferences including the RSA Conference in San Francisco and the Black Hat Briefings &Training in Amsterdam. If you’re attending, be sure to drop me an e-mail and we’ll grab a drink. We wish you a safe 2007! Mirko Zorz Chief Editor Visit the magazine website at www.insecuremag.com (IN)SECURE Magazine contacts Feedback and contributions: Mirko Zorz, Chief Editor - [email protected] Marketing: Berislav Kucan, Director of Marketing - [email protected] Distribution (IN)SECURE Magazine can be freely distributed in the form of the original, non modified PDF document. Distribution of modified versions of (IN)SECURE Magazine content is prohibited without the explicit permission from the editor. For reprinting information please send an email to [email protected] or send a fax to 1-866-420-2598. Copyright HNS Consulting Ltd. 2006. www.insecuremag.com New enterprise single sign-on authentication software DigitalPersona announced the latest version of its award-winning enterprise product, DigitalPersona Pro 4.0. The new and improved software delivers a complete, accurate and trusted fingerprint Enterprise Single Sign-On (ESSO) solution with more secure authentication, improved manageability and the broadest support available for the world’s leading biometrically-enabled notebooks including models from Lenovo, HP, Dell, and Toshiba.
    [Show full text]
  • Windows XP, Vista, 7 & 8
    Windows XP, Vista, 7 & 8 ExhibitView Version 5.0 Product Guide Please read this document carefully before using ExhibitView 5.0. This document introduces one to the rich features embedded in ExhibitView software. It also acts as a basic reference for someone to get started working on ExhibitView. ExhibitView is free to use for first 14 days. ExhibitView is EASY! FAST! INTUITIVE! Connect your projector. Launch ExhibitView. You are ready for GREAT Presentations. ExhibitView supports wide range of file formats Table of Contents Look for each section below and in order. Section: 1. What's New in ExhibitView 5.0 a. System Requirements b. Installation Requirements c. Overview of ExhibitView 5 d. Known compatibility issues 2. Live Online Training 3. Creating and Saving Projects 4. File Formats Supported 5. Main Interface, The ExhibitView Desktop a. SlideMaker b. Documents c. Images d. Audio/Video e. Web Pages 6. The Presentation Area a. The area you see b. The area the jury sees c. Present side by side or full screen d. Courtroom setup 7. The Tools in the Toolbar 8. Video Controls and Marking on Videos while playing 9. The SlideMaker 10. The Synchronized Video Deposition Viewer 11. Keyboard Shortcuts 12. Help and Contact Information Section 1. What is New in ExhibitView 5.0? The fresh new ExhibitView 5.0 now makes your favorite presentation management system even more powerful, fast and feature rich. The old screens have given to the new rich user interface. The icons are now even easier to locate and use. Navigation is a breeze. ExhibitView 5.0 makes learning fun and easy.
    [Show full text]
  • Open Source Client-Management-System Opsi Opsi Linux Support
    Open Source Client-Management-System opsi opsi Linux Support A Management Tool for The bootimage creates a distribution opsi-client-agent for Linux Windows and Linux dependent answer file for the The opsi-client-agent for Windows unattended OS installation. This The goal behind extending opsi has basically two components: answer file with some additions with Linux support is to provide a for the client-agent installation will 1. the opsiclientd service comprehensive Client Management be integrated in the ‚initial ramdisk system to support heterogeneous 2. the action processor opsi-winst / (initrd)‘. environments. The focus is on the opsi-script complete integration of both worlds In the next step the distribution Both components work in the same into the same management process kernel with the modified initrd is way you may be used to from with one single tool. booted and the installation runs Windows. completely unattended and fully This allows handling Linux controlled by the distribution installer. installations the same way as Windows installations. The Linux opsi-client-agent is based on the same code as the Windows opsi- client-agent and uses the same commands. Linux Distribution independent The opsi Linux Support is distribution independent. The currently supported distributions are: Debian After the automatic OS installation The opsi-client-agent may become the opsi-client-agent is now ready active at the following system states: Ubuntu for the tasks of software deployment ࡟ System startup OpenSuse / SLES and configuration management on this client. ࡟ Push installation (activation via RedHat / CentOS network) Based on the generic OS installation, UCS as an option, additional opsi ࡟ Timer controlled OS Installation per Netboot packages can be installed to turn the The details may be configured to new system into an opsi-server (a The installation of the Linux match your personal needs.
    [Show full text]
  • UI Developers' Guide - Installation
    UI Developers' Guide - Installation This section outlines the steps necessary to download, configure, build, and run the Ed-Fi Dashboard UI on a development machine. UI Developers' Guide The Ed-Fi Dashboards configuration described in this document has been tested with the following Contents software configuration: Read more about the UI Developers' Windows 8.1 Professional (64-bit) and Enterprise (64-bit); Windows 10 Professional (64-bit) Guide: and Enterprise (64-bit). Windows Server 2012 and Windows Server 2008 R2 (Windows Server 2008 releases before R2 are not supported). Internet Information Services (IIS) 8.0 and IIS 10.0. Microsoft SQL Server 2012 – with Service Pack 3 or higher (Standard Edition, Developer Edition, or Enterprise Edition. Note that Express Edition is not supported). Configure SQL Server with the following features: Database Engine Services (replication/text search not required). Management Tools (complete). Use the default instance (MSSQLSERVER). Choose Mixed Mode security (the application uses a SQL login). Specify a password for the sa account. In the “Specify SQL Server administrator” click on Add Current User. Visual Studio 2013 or 2015 (Professional Edition or higher). .NET Framework 4.5.2. Preparing a development environment to run the dashboards can be summarized as follows: Step 1. Download and Extract the Dashboard Source Code The Ed-Fi Dashboards source code is contained in one repository that can be downloaded using git clone or as a ZIP archive from the Ed-Fi Alliance source code repository in GitHub at https://github.com /Ed-Fi-Alliance/Ed-Fi-Dashboard. The links to the latest stable and development code versions are located in the section Getting Started - Downloading the Code.
    [Show full text]
  • Outlook Office 365 Search Training
    Outlook Office 365 Search Rylander Consulting www.RylanderConsulting.com [email protected] 425.445.0064 i Outlook Office 365 Search Table of Contents Searching in Outlook Office 365 ..................................................................................................................... 1 Begin a Search............................................................................................................................................ 2 Using the Search Tab ...................................................................................................................................... 4 Scope of Search ......................................................................................................................................... 4 Refine Search ............................................................................................................................................. 5 Search by From or Subject .................................................................................................................... 6 Search for E-mail with Attachments ..................................................................................................... 8 Search Options Group ................................................................................................................................ 9 Recent Searches .................................................................................................................................... 9 Search Tools .........................................................................................................................................
    [Show full text]
  • DFN-Notify-Liste
    OPSI4institutes (o4i) DFN-Notify-Service Stand: 13.11.2017 Listenanmeldung per eMail an [email protected] mit Body "SUBSCRIBE OPSI4INSTITUTS-NOTIFY Name ODER Anonymous ", später Confirm-Mail bestätigen...). https://www.listserv.dfn.de/sympa/arc/opsi4instituts-notify Dieses Mailing-Listenarchiv läßt sich gut durchsuchen, z.B. nach dem Paketkürzel "firefox" als Subject (alle Pakete = „[opsipackage]“ und/oder nach Datumsbereich. Software-Produkt Notify gestartet # OPSI-Paketkürzel Kategorie URL Hersteller URL im o4i-Wiki NP mit Version ab Datum 1 {7zip} allgem.Tool http://www.7-zip.org/download.html https://opsi.wzb.eu/wiki/index.php/Dfn_7zip [9.38] 28.07.15 2 {acrobat-reader-2015} PDF-Prog ftp://ftp.adobe.com/pub/adobe/reader/win/Acrobat2015/ [2015.006.30121] 17.03.16 3 {acrobat-reader-dc} PDF-Prog http://www.adobe.com/support/downloads/detail.jsp?ftpID=6120 https://opsi.wzb.eu/wiki/index.php/Dfn_acrobat-reader-dc-classic X [2015.008.20082] 14.12.15 4 {acrobatpro-dc} PDF-Prog [2017.009.20044] 04.07.17 5 {acrobatpro-classic} PDF-Prog ftp://ftp.adobe.com/pub/adobe/acrobat/win/11.x/ [11.0.13] 13.12.15 6 {acrobatpro-standard} PDF-Prog [11.0.20] 04.07.17 7 {adobe-air} Fkt-Bibliothek https://get.adobe.com/de/air/ https://opsi.wzb.eu/wiki/index.php/Dfn_adobe-air X [2015-10-05] 18.10.15 8 {adobe-brackets} Editor https://github.com/adobe/brackets/releases https://opsi.wzb.eu/wiki/index.php/Dfn_adobe-brackets [1.5] 28.12.15 9 {adobeconnect} Office-Prog https://www.adobe.com/support/connect/downloads-updates.html https://opsi.wzb.eu/wiki/index.php/Dfn_adobe-connectaddin
    [Show full text]
  • Deploying a New Computer Management Environment For
    MASARYK UNIVERSITY FACULTY OF INFORMATICS Deploying a new computer management environment for Masaryk University MASTER’S THESIS Bc. Jan Grundmann Brno, spring 2018 Declaration Hereby I declare, that this paper is my original authorial work, which I have worked out on my own. All sources, references, and literature used or excerpted during the elaboration of this work are properly cited and listed in complete reference to the due source. Bc. Jan Grundmann Advisor: Mgr. Kamil Malinka, Ph.D. i Acknowledgment I would like to thank my work advisor, Mgr. Kamil Malinka, Ph.D., for his patience and professional advisement. I would also like to thank all my colleagues who participated in this project. Lastly and most of all, I would like to thank my parents for their support during my whole studies. ii Abstract This thesis aims to deploy a new computer management environment at Masaryk University. The new environment will be based on System Center Configuration Manager. This thesis describes how the deployment was prepared, how the environment is configured and what the ways of joining or migrating into the new environment are. iii Keywords Institute of Computer Science, System Center Configuration Manager, Central Management Service, Active Directory, Microsoft PowerShell, Operating system deployment, Application management, Windows Update, Role-based administration, Endpoint Protection iv Table of contents 1 Introduction ...................................................................................................... 1 1.1 Content of chapters...................................................................................
    [Show full text]
  • Dictation Module Reference Manual
    Olympus Dictation Management System R6 Dictation Module Reference Manual Contents 1 INTRODUCTION···························································································· 8 1.1 Olympus Dictation Management System Outline ··········································9 1.1.1 System Configurations of ODMS R6························································· 10 1.1.2 Modules and Tools ················································································ 12 1.2 Licenses······························································································· 14 1.3 Devices Connectable to Dictation Module ·················································· 15 1.4 Supported File Formats ·········································································· 16 1.5 Dictation Module Capabilities··································································· 17 2 FUNDAMENTALS OF OLYMPUS DICTATION MANAGEMENT SYSTEM ······ 18 2.1 Dictation File Name and Author ID ··························································· 19 2.2 Process and Status ················································································ 20 2.3 How Folders Work·················································································· 22 2.3.1 Folder Descriptions ··············································································· 22 2.3.2 Folder Functions ··················································································· 23 2.4 Worktypes and Option Items ···································································
    [Show full text]