I already know about faketime and datefudge, but is there a way to set this up transparently for any process that's being run as a certain user (identified by a specific UID)?
Since you have the entire source code to Linux, you can set this up exactly as you want, but you'll have to modify the system kernel and rebuild it to make it so. It isn't easy to set this up based on a UID.
If you only want to arrange that a logged in user has this property for
most commands they execute, give them a login shell that uses
A special login shell should also work for
Of course this fakery fails for any program that sets or ignores its