Librem11: create a new user

heyoo

i’ve tried web searches and forum searches, but haven’t been able to figure out how to set a passcode for a librem 11 user… anyone know the secret?

i’ve just booted my librem11
and i’m keen to create some individual accounts
i created one admin and one regular user

but i cannot login as the users, because the login UI presented only accepts pass codes
and i can’t figure out where i can set pass codes for users

2 Likes

Not sure whether this is on the right track but

sudo passwd xyz

will set the password for username xyz.

2 Likes

Phosh currently only supports a single default user session to my knowledge.

2 Likes

I tried similar solutions. But it seems that passcodes are numbers only? At least the UI only allows for numerals.

1 Like

Are you saying that phosh doesn’t support any user logging in aside from the default user?

Or are you saying that phosh doesn’t allow more than one user logging in at once?

1 Like

I don’t think it supports multiple users from the GUI. Yet

1 Like

Do you mean when you set the password or when you use the password to log in?

That used to be the case on the Librem 5 (for both of the above). But then they added the little keyboard icon to the number pad so that it became possible to enter a password that is not just numeric when logging in. Is that change not available on the Librem 11? However none of that addresses the bigger issue …

My understanding is that they have done away with the login screen. You never log in. So you don’t get to choose which user to log in as. I have read of users reinstating the login screen but that might involve making a more radical change to the user interface, which may not suit you overall.

The current design choice is more consistent with mainstream phone operation i.e. what one might call more “phone-friendly” but is therefore, one could opine, less Linux-friendly.

2 Likes

If you look at the way the Raspberry Pi works, that might be closer to what one really wants. The Pi allows you to configure the user to log in automatically as. So you could get mainstream phone functionality and avoid having a default attackable username and hopefully get an actual user logon to occur (automatically). Or you could choose not to specify an automatic login user and you would get a mainstream Linux login screen.

I note that some users complain that it already requires too much to start up the device e.g. potentially: LUKS passphrase, login PIN (password), (on the phone) SIM PIN, (on the phone) OpenPGP card PIN, keyring password. So there’s probably a convenience-security trade-off to be offered there.

2 Likes