1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:48:11 +00:00
serenity/Base/usr/share/man/man1/su.md
Karol Baraniecki 040012a196 su: Correct brackets in documentation for the user option
The `<brackets>` syntax usually suggests a required option, while the
`[brackets]` syntax an optional one. `user` is an optional argument.
2023-02-16 12:52:11 +00:00

512 B

Name

su - switch to another user

Synopsis

$ su [-] [user]

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:

  • -, -l, --login: Start the shell as it was a real login

Arguments

  • user: User to switch to (defaults to the user with UID 0)

Examples

Switch to root user

$ su

Switch to another user

$ su nona