I’ve read core/docs/system-user and System user - Ubuntu Core docs - Ubuntu Community Hub
I am using Core22.
its still not clear to me how you can create a user (or is it even possible?)
At the moment I am iterating over imaging an SD card and putting it in a raspberry pi (testing my own snap, and configs etc)
I am constantly putting in my ubuntu-one email when console-conf kicks in after each fresh image. The docs state " Some systems, however, suppress console-conf and its user creation." I am unclear what that means? How is it suppressed? Does ‘some systems’ mean hardware (no way of having a keyboard)?
I’ve read about asserting a system-user, and using a USB key on boot, thinks makes me think user creation is not possible.
I have 2 questions.
1 - As I am developing (dangerous / devmode), is there a way of asserting my ubuntu-one user 'by id, pub key, or email) so I don’t keep having to enter it? Can a key be added to ssh ‘authorized_keys’ via a gadget snap and set it that way (I don’t thing it uc works that way)?
2 - My goal is to eventually share my custom core22 image with my snap asserted, can I have a user setup with that? I obv also do not want console-conf kicking in either, i know core24 allows for "presence"
? on console-conf but can’t see anything for core22. This user is not essential, it will be a nice to have, its purely there for debugging over ssh if I have any trouble in the future, but removing console-conf is.
Any help (links / github) are very appreciated.
Cheers