R
R
Roman2014-01-27 17:44:42
linux
Roman, 2014-01-27 17:44:42

How to manage environment variables in Linux using Microsoft AD and is it possible?

Google didn't give a definitive answer.
The world of Linux is fairly new to me. The question arose - remotely edit one environment variable on 20 Linux machines that are connected to the domain. Is it possible to do this remotely and automatically? Like policies in Windows / AD ?
Or is there any similar system ala AD for Linux?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
P
praporshik, 2014-01-27
@praporshik

For centralized configuration management, it is customary to use specialized tools (Puppet, Chef, CFEngine, etc.). All settings are stored in text files, so the task will be to bring the config to the desired format and that's it.

N
Nikolai Turnaviotov, 2014-02-01
@foxmuldercp

are these servers or workstations?
if the server - then systemimager, puppet, chef,
if the client is a little more complicated.

L
lovecraft, 2014-03-13
@lovecraft

Everything is complicated there.
Automatically "out of the box" - no way.
Not out of the box - so:
All AD settings are stored in LDAP on the domain controller. You need to:
1. Extend the LDAP schema so that the "Computer" object has a new property where we will store environment variables.
2. Write a script that, when the machine starts up, logs in to LDAP using the machine account saved in Samba, finds an object, pulls a field from it and updates variables.
Somewhere there was a proprietary product with such functions, but I forgot what it's called)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question