criação de utilizador com home na ram

useradd aluno -m -d /dev/shm/aluno -c 'Utilizador aluno' -s /bin/bash
nano /etc/systemd/system/mkhomedir_helper.service

e introduzir o texto

[Unit]
Description=Run mkhomedir_helper to generate the /home from /etc/skel.
[Service]
ExecStart=/usr/sbin/mkhomedir_helper aluno
[Install]
WantedBy=graphical.target

ativar o serviço:
systemctl enable --now mkhomedir_helper

Subscrever ram