Score:0

How can I set up a passwordless non-privileged account?

cn flag

On my Xubuntu 20.04 system there are two users - me (strong password, with sudo) and my daughter (no sudo access).

Her account can be set to log in without a password, but that's not much use when the screensaver kicks in as it then demands the password to unlock (that I was forced to set but no one can remember because it's never used - and of course she doesn't have access to my password manager). And if I try to set a blank password the account won't enable.

enter image description here enter image description here

Note that there are several related questions, but all refer to remote login or sole/privileged users, and giving a passwordless user root access dominates the answers. I also don't want to recreate the old guest login that doesn't have a permanent home folder. So how can I have a kid's account without a password?

David avatar
cn flag
Do not set the OS to ask for a password when coming back from screen saver.
Score:1
zw flag

If open the powermanager in your settings (or click on the power icon on your panel -> select "PowerManager settings..") make sure to disable the "Lock screen .." checkbox:

1

Then open the "screensaver" and disable the lock screen:

2

Enable lock screen needs to be turned off.

Update

To disable the password on login (terminal):

sudo nano /etc/lightdm/lightdm.conf

and add below the "Seat" section:

[Seat:*]
autologin-guest=false
autologin-user=<user>
autologin-user-timeout=0

and replace <user> with the user name

cn flag
I would rather the account actually didn't have a password, as opposed to having one that didn't get used, but this does seem to be the easiest way
kanehekili avatar
zw flag
See my updated answer on how to "disable" the password
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.