Question: as a user of systemd-homed --storage=luks how to change --ssh-authorized-keys= without asking root?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On a debian testing system (systemd 256.2-1) I created a user with:

trixie# homectl create utest --storage=luks --ssh-authorized-keys="xxx"

The I used ssh to login as the user 

ssh utest@trixie

And it all worked as described here as new feature of systemd 256:

https://mastodon.social/@pid_eins/112370336310304287

My question is how is the user "utest" able to change its 
--ssh-authorized-keys? I tried:

utest@trixie$ homectl update utest --ssh-authorized-keys="xxx"
Assertion 'user_name' failed at src/home/homectl.c:237, function
acquire_existing_password(). Aborting.

So without success.

Changing password worked as the user:

utest@trixie$ homectl passwd

And changing the utest --ssh-authorized-keys= as root worked too.

Did I miss something?

Thanks for your help,

Sincerely,

Laurent GUERBY




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux