mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
Add note about 'sudo su'
This commit is contained in:
parent
d194376546
commit
b192d42837
2 changed files with 8 additions and 0 deletions
4
ssh.md
4
ssh.md
|
@ -58,6 +58,10 @@ If you changed the SSH port, you need to add `-p <portnumber>` to the command, e
|
|||
ssh -p 2244 admin@your.domain.tld
|
||||
```
|
||||
|
||||
<div class="alert alert-info">
|
||||
If you are connected as `admin` and would like to become `root` for more comfort (e.g. to avoid typing `sudo` in front of every command), you can become `root` using the command `sudo su`.
|
||||
</div>
|
||||
|
||||
## Which users?
|
||||
|
||||
By default, only the `admin` user can log in to YunoHost ssh server.
|
||||
|
|
|
@ -58,6 +58,10 @@ Si vous avez changé le port SSH, il faut rajouter `-p <numerodeport>` à la com
|
|||
ssh -p 2244 admin@votre.domaine.tld
|
||||
```
|
||||
|
||||
<div class="alert alert-info">
|
||||
Si vous êtes connecté en tant qu'`admin` et souhaité devenir `root` pour plus de confort (par exemple, ne pas avoir à taper `sudo` à chaque commande), vous pouvez devenir `root` en tapant `sudo su`.
|
||||
</div>
|
||||
|
||||
## Quels utilisateurs ?
|
||||
|
||||
Par défaut, seulement l'utilisateur `admin` peut se logger en SSH sur une instance Yunohost.
|
||||
|
|
Loading…
Add table
Reference in a new issue