su(1) - SerenityOS man pages

#Name

su - switch to another user

#Synopsis

$ su [-] [user]
$ su [-] [user] [-c command]

#Description

su: Switch to another user.

When called with no user-specified, su defaults to switch to the root user. Need to enter the password if the user switch to has one.

#Options

#Arguments

#Examples

Switch to root user

$ su

Switch to another user

$ su nona

#See also