Kommentarer

Send en kommentar

Populære indlæg fra denne blog

In Office 2013 is was possible to automatically activate it after install by using a property called AUTO_ACTIVATE in the Office Customization Tool (OCT) (to start the OCT, you just need to run the setup for the Office installation like this: 'setup.exe /admin' - you don't need to download the OCT).

It doesn't work in Office 2016.

I solved it by running the OCT and doing this instead:

If you want to know how the make the install completely automated, read on:

I modified these settings:

Save the .MSP file in the Office installation folder under \updates\. All .MSP files in this folder, is used during installation. If files exist in this folder, and you run setup.exe, the 'normal' Office installation will use the settings under \updates\ (the settings modified in the .MSP file created in OCT).

1) Connect to OpenELEC using ordinary SSH with user 'root' and password 'openelec'

2) Change directory to .ssh/:

cd .ssh/

3) Generate a pair of ssh keys:

ssh-keygen -t rsa

Accept all default settings by pressing [ENTER].

If you are asked to to overwrite id_rsa press 'y' and [ENTER].

4) Copy the content of the public key ('id_rsa.pub') into 'authorized_keys':

cat id_rsa.pub >> authorized_keys

5) Copy 'id_rsa' to the device that you want to log into OpenELEC from, e.g. your mobile phone.

6) Setup the connection on your device using the private key ('id_rsa'). You still need to use the username 'root'. You can rename this file and give it a more useful name. Make sure that you are able to log in without using the password!

7) To disable the local password on OpenELEC/KODI, open settings in KODI and select "Services" on the left hand side. Here you can disable SSH password.

After creating a new user, assigning it Administrator rights, and logging in to Check_MK, I received an error stating that there was no access to the network topology.

This resolved it:

1) SSH to the Linux server running Check_MK

2) Change directory to the Nagvis folder:
cd /omd/sites/[YOUR SITE NAME HERE]/etc/nagvis

3) Create a new file called "nagvis-make-admin.sh":
sudo nano nagvis-make-admin.sh

4) Paste this into the new file and save it:

#!/bin/bash################################################################################# nagvis-make-admin.sh - This script assigns the Administrators role to the# given user.## Copyright (c) 2004-2011 NagVis Project (Contact: info@nagvis.org)## Development:# Lars Michelsen <lars@vertical-visions.de>## License:## This program is free software; you can redistribute it and/or modify# it under the terms of the GNU General Public License version 2 as# published by the Free Software Foundation.## This program…