Sujet : Re: Building Linux in /dev/shm
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.os.linux.advocacyDate : 22. Apr 2024, 09:38:16
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v05457$r443$1@dont-email.me>
References : 1 2 3 4 5
User-Agent : Pan/0.155 (Kherson; fc5a80b8)
On Mon, 22 Apr 2024 02:03:57 -0000 (UTC), vallor wrote:
ssh-agent's socket lives in a subdirectory in /tmp. Really should live
in /run somewhere. Looks like it can be steered by changing the TMPDIR
environment variable...
The logical place for per-user stuff would be /run/user/«userid», as per
systemd conventions.
On our companies user-access shell server, each user has their own /tmp
in their own chroot.
I once had to set up a file-access server for a client that had to support
both old-style insecure FTP and also SFTP (with the ultimate aim, of
course, of transitioning all their customers from the former to the
latter). Setting up a per-user chroot that would work with both was ...
quite a challenge ...