su: reorder examples, simpler first. (#2732)
This commit is contained in:

committed by
Muhammad Falak R Wani

parent
a0cbc90c3a
commit
e921d0e6b6
@@ -2,14 +2,14 @@
|
|||||||
|
|
||||||
> Switch shell to another user.
|
> Switch shell to another user.
|
||||||
|
|
||||||
- Switch to user {{username}} (password required):
|
|
||||||
|
|
||||||
`su {{username}}`
|
|
||||||
|
|
||||||
- Switch to superuser (admin password required):
|
- Switch to superuser (admin password required):
|
||||||
|
|
||||||
`su`
|
`su`
|
||||||
|
|
||||||
|
- Switch to user {{username}} (password required):
|
||||||
|
|
||||||
|
`su {{username}}`
|
||||||
|
|
||||||
- Switch to user {{username}} and simulate a full login shell:
|
- Switch to user {{username}} and simulate a full login shell:
|
||||||
|
|
||||||
`su - {{username}}`
|
`su - {{username}}`
|
||||||
|
Reference in New Issue
Block a user