Explorar o código

Base: Add su(1) manpage

Base: Add su(1) manpage

Base: Add su(1) manpage
fanzidanzhidi %!s(int64=3) %!d(string=hai) anos
pai
achega
06ebdf82f7
Modificáronse 1 ficheiros con 33 adicións e 0 borrados
  1. 33 0
      Base/usr/share/man/man1/su.md

+ 33 - 0
Base/usr/share/man/man1/su.md

@@ -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
+```