mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 09:39:39 +00:00
Base: Add su(1) manpage
Base: Add su(1) manpage Base: Add su(1) manpage
This commit is contained in:
parent
ccc3da4ee1
commit
06ebdf82f7
Notes:
sideshowbarker
2024-07-18 22:57:59 +09:00
Author: https://github.com/fanzidanzhidi 🔰
Commit: 06ebdf82f7
Pull-request: https://github.com/SerenityOS/serenity/pull/13024
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/kleinesfilmroellchen
Reviewed-by: https://github.com/linusg
1 changed files with 33 additions and 0 deletions
33
Base/usr/share/man/man1/su.md
Normal file
33
Base/usr/share/man/man1/su.md
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
## Name
|
||||||
|
|
||||||
|
su - switch to another user
|
||||||
|
|
||||||
|
## Synopsis
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ 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.
|
||||||
|
|
||||||
|
## Arguments
|
||||||
|
|
||||||
|
* `user`: User to switch to (defaults to the user with UID 0)
|
||||||
|
|
||||||
|
## Examples
|
||||||
|
|
||||||
|
Switch to root user
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ su
|
||||||
|
```
|
||||||
|
|
||||||
|
Switch to another user
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ su nona
|
||||||
|
```
|
Loading…
Add table
Add a link
Reference in a new issue