---
title: "Switching users"
date: "2015-04-09"
category: "terminal"
slug: "switching-users"
---

On [[determining-platform-version]] platforms and newer, you can switch to other users on your account from the [[accessing-terminal]]. When switched, you assume that user's permission rights, including the ability to modify and remove their files.

## Usage

Use [`su`](http://apnscp.com/linux-man/man1/su.1.html) to switch from the primary account user to another user. On v6+ platforms, no password is required for the target user. You will be prompted for your account password before switching.

### Examples

Switch from the admin user to user "matt":

```
su matt
```

Remove all files under `/home/matt` (as admin user with sudo):

```
sudo rm -rf /home/matt
```

**Warning:** `sudo rm` can remove any file on your account. Use with caution.
