Trevor Vaughan

Results 117 comments of Trevor Vaughan

@spbnick I was referring to `tlog-rec-session`. Are you sure on this? If you run `tlog-rec-session` as a normal user, then `su` to `root`, then re-run `tlog-rec-session`, then `su` to another...

Also, I need to wrap this in a `profile.d` script, so I need a way to tell if I'm already in a session and I've found that I'll end up...

@spbnick Fair enough, but I don't have a choice. The shells allowed in `/etc/shells` are regulated and `tlog-rec-session` isn't one of them.

The issue is that the validation code from the various checking tools will fail if a user's shell is not in `/etc/shells` and I can't fail security validation activities.

The problem is that I end up in an infinite loop because I can't skip trying to start `tlog-rec-session` if I can't tell that it's already running from my current...

That's easy enough https://github.com/simp/pupmod-simp-tlog/pull/1/files#diff-26a3932fc1b359d77baf70bd17ef07c2

Honestly, if I could just run something like `tlog-rec-session --already-logging` and determine if I'm already being logged, that would work just fine.

As far as I can tell, I can only see that as the `tlog` user, not as my regular user.

@spbnick Checking in to see if any progress has been made here.

@justin-stephenson I'm not sure. I'm trying to find a way that can't be circumvented by users and setting an environment variable can. I guess I was assuming that there would...