3 ms·
I think the go-to for sharing users is not to manually sync UID/GID, but to just connect it to a database. For example you can install libpam-mysql add your da
by 1718627440 1y ago
I think the go-to for sharing users is not to manually sync UID/GID, but to just connect it to a database. For example you can install libpam-mysql add your database credentials and be done.
For remote access I think ssh -X works? Not sure it will work with Wayland, but I am not a fan of that anyways.
- II2II 1y agoI'm just dealing with a couple of personal computers, so it was far easier to manually sync the UID/GID. But yes, if you're dealing with a network with many users you will want to find another approach. `ssh -X` will work for some X applications. Heck, if you're connections are between two computers on a LAN and you don't care much about security, you can just make sure `DISPLAY` is set and open up X with "xhosts +". Tunnelling through `ssh` is useful when you're going across a public network, trying to get into a private network (heck, I've used ssh tunnelling for Remote Desktop between Windows machines in this case), or need a secure connection for any number of other reasons. A couple of caveats though, not all X applications will work this way and you have to redirect audio yourself. This would actually be my preferred approach since it involves displaying an application remotely, rather than an entire session. That said, there are too many caveats these days. Thirty years ago though, it was great!