How to create a new or guest user after install?

Fedora Atomic 43 GNOME

In Fedora Atomic, I only created one user during installation, I need to share my laptop with another person for a week, how can I create new user or a guest user that has no access to my personal files?

I searched AI and it told me to use adduser like this:

# Create the user and home directory
sudo useradd -m -G wheel <username>

# Set the password
sudo passwd <username>

But “changes to system files like /etc/passwd may not persist across updates unless managed carefully”, this is the part what worries me, how can I guarantee the new user remains after an update?

I need the easiest way to do this for an average person, AI mentions it can be done with bootc too but it is too complicated.

This can be done via Settings within GNOME.

  1. Open Settings App.
  2. Scroll down to “System”.
  3. Click “Users”.
  4. Click “Unlock” and enter your password.
  5. Click “Add User” and fill out the details.