How does mysql determine the hostname of its clients?

I’m trying to create a MySQL user which will only be allowed to connect to the MySQL database from a specific hostname. grant all on db_name.* to ‘user_name’@’appserver-lan.mydomain.com’ identified by ‘some_passwd’ By checking the user table on the mysql db, I can see that the user was created successfully: use mysql; select * from user … Read more

Limit which processes a user can restart with supervisor?

I have used supervisor to manage a Gunicorn process running a Django site, though this question could pertain to anything being managed by supervisor. Previously I was the only person managing and using our server, and supervisor just ran as root and I would use sudo to run supervisorctl restart myapp when needed. Now our … Read more

What does the Windows 7 local group Power Users actually do?

A client wants a new bit of software. Typically they are on the cusp of signing a contract before they happen to mention it to IT in passing. A skim through the technical requirements show nothing extraordinary, except that all users of the client/agent software need ‘power user’ rights to their local machine. This is … Read more

Linux: How to enforce specific permissions on newly created logs which are created by log rotate?

I’ve noticed that the mail logs which are being created in /var/log are being created and owned by root (user and group). I’ve written a Nagios check which monitors the log and in order to allow the Nagios user to access it, I gave the other group read permissions, that is: chmod o+r /var/log/maillog Now … Read more

Is locking down a developers machine more effort than its worth? [closed]

Closed. This question is opinion-based. It is not currently accepting answers. Closed 7 years ago. Locked. This question and its answers are locked because the question is off-topic but has historical significance. It is not currently accepting new answers or interactions. Having worked as a developer and in IT admin/support for a development team, I’ve … Read more

Why shouldn’t you let developers near root passwords? [duplicate]

This question already has answers here: SysAdmin & Developer: Responsibilities [closed] (8 answers) Closed 8 years ago. Locked. This question and its answers are locked because the question is off-topic but has historical significance. It is not currently accepting new answers or interactions. I just came across Something is burning in the server room; how … Read more

How can I copy MySQL users table from one server to another? [duplicate]

This question already has answers here: How can I export the privileges from MySQL and then import to a new server? (11 answers) Closed 3 years ago. I’m setting up up a new MySQL server and I’d like to give it the same set of usernames, allowed hosts, and passwords as an existing server (which … Read more

How do I access the list of currently logged on users through Terminal Services Manager in Windows Server 2012?

In Windows 2003 and 2008 we had Terminal Services Manager (see screenshot below). However in Windows server 2012 it’s gone. Does anyone know how to access the list of currently remotely logged on users in Windows 2012 through a similar tool or some other way? (I tried connecting to Windows 2012 from Windows 2008, that’s … Read more