There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

Systemd Homed users and what does 'login' mean?

From homectl:

Home directories managed by systemd-homed.service are usually in one of two states, … when “active” they are unlocked and mounted, and thus accessible to the system and its programs; … Activation happens automatically at login of the user

What does ‘login’ mean? For example, I created a user and tried to su -l test, but I got: cannot change directory to /home/test.

What is required to ‘activate’ a homed directory if not a login shell?

Max_P ,
@Max_P@lemmy.max-p.me avatar

<span style="color:#323232;">sudo machinectl login the-user@localhost
</span>

That will handle all the PAM stuff as if you actually logged in.

Virulent ,

You can also ssh into localhost as the user if you have that set up

hunger ,
@hunger@programming.dev avatar

It is the same as with all logins: It goes through the Pluggable Authentication Modules. So you need a service that uses PAM (they basically all do for a long time now) and the configuration of that service needs to include homed as an option to authenticate users. Check /etc/pam.d for the config files.

luthis OP ,

Actually, I suspect ‘login’ refers to init and logind,

Back to the wiki to find out the steps during late userspace…

db2 ,

Try using doas maybe

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines