I recently created a new user on one of my pi’s to give a dev some limited access (no sudo for now, want to jail the user to their home dir eventually) and noticed that they can enter the dietpi user’s home directory. Meanwhile, dietpi cannot access the dev users home directory.
Related: In regard to jailing a user with chroot, I haven’t done that in quite some time. Can I jail a SSH to their home directory when using dropbear? I’ve only done this on systems running OpenSSH…I’d really rather not remove dropbear to install OpenSSH on a half a dozen devices because I’m lazy.