r/sysadmin • • Nov 28 '20

Is scripting (bash/python/powershell) being frowned upon in these days of "configuration management automation" (puppet/ansible etc.)?

How in your environment is "classical" scripting perceived these days? Would you allow a non-admin "superuser" to script some parts of their workflows? Are there any hard limits on what can and cannot be scripted? Or is scripting being decisively phased out?

Configuration automation has gone a long way with tools like puppet or ansible, but if some "superuser" needed to create a couple of python scripts on their Windows desktops, for example to create links each time they create a folder would it allowed to run? No security or some other unexpected issues?

363 Upvotes

281 comments sorted by

View all comments

Show parent comments

15

u/Resolute002 Nov 28 '20

Also for some GPOs they don't take full effect until after restarts. In this era of largely remote work with the pandemic this surprises people all the time.

10

u/StatefulDecay Nov 28 '20

Especially when adding computers to security groups. The PC only checks for what it is a member of at restarts.

6

u/Smartguy5000 Sysadmin Nov 28 '20

This will allow you to pull updated membership on a comp account sans restart. https://www.normanbauer.com/2016/03/30/how-to-purge-kerberos-tickets-of-the-system-account/

-1

u/f0urtyfive Nov 28 '20

What happens if you purge the kerberos ticket and the machine can't get a new one?

→ More replies (0)