I've got a scenario where I need to let another user -- from automation -- log into the Debian machine periodically and execute commands. I don't want to use the main root user, for security reasons, but also because I don't want several hundred new entries in bash history from this automation showing up and choking out the rest of my bash history. Sudo appears to be out as an option since its not interactive. Yes, it's Solarwinds before anyone asks. :)
Basically, I need to get another user with root--which isn't hard--and to also sequester off the prodigious bash history spam while preserving it in case we need to review it later. What's the common thinking on this today?
[link][23 comments]