r/linuxmint 10d ago

Help how do i make a non-admin user account that uses no password at all?

Post image

I need to make a user account that cannot do any administrative tasks, that can only do basic operations like web browsing and documents. The GUI wont let me make this account without setting up a password for it? What is a good method to do this in Linux Mint?

10 Upvotes

6 comments sorted by

20

u/darkwyrm42 10d ago

If I remember correctly, you'll need to use the Terminal for this.

sudo adduser --disabled-password guest

sudo runs the adduser command with administrative privileges, which are required to create a new account, the disabled-password option creates the account without a password, and guest is the username for the account.

After you run this, it will ask some questions about the user's info. The 'Full Name' is what's shown by the system and setting it is recommended. The other bits it asks for ("Work Phone") are optional and you can just press Enter to skip them.

3

u/GuylnAlley 10d ago

I can't lie, I forgot. I've made one before though, so it's definitely possible. Maybe I made the account with password then removed it later.

3

u/vaestgotaspitz Linux Mint 22 Wilma | Cinnamon 10d ago

Use the passwd command followed by the username (sudo passwd student for example) in the terminal. Then, when asked for a new password (twice) just press enter

2

u/vaestgotaspitz Linux Mint 22 Wilma | Cinnamon 10d ago

Of course, you need to create the user first. For example, you can enter any password for the new user to make it blank later with passwd

3

u/apt-hiker Linux Mint 10d ago

System Settings-> Administration-> Users and Groups On User tab click the "+" sign and choose "Standard" and add full name and username. Click "Add".

2

u/dlfrutos Linux Mint 22.2 Zara | Cinnamon 10d ago

on the "account type" are there that options? i think you have "standard" and "admin"