deployphp/deployer

View on GitHub
docs/recipe/provision/user.md

Summary

Maintainability
Test Coverage
<!-- DO NOT EDIT THIS FILE! -->
<!-- Instead edit recipe/provision/user.php -->
<!-- Then run bin/docgen -->

# User Recipe

```php
require 'recipe/provision/user.php';
```

[Source](/recipe/provision/user.php)


## Configuration
### sudo_password
[Source](https://github.com/deployphp/deployer/blob/master/recipe/provision/user.php#L7)



```php title="Default value"
return askHiddenResponse(' Password for sudo: ');
```



## Tasks

### provision\:user {#provision-user}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/provision/user.php#L13)

Setups a deployer user.




### provision\:ssh_copy_id {#provision-ssh_copy_id}
[Source](https://github.com/deployphp/deployer/blob/master/recipe/provision/user.php#L59)

Copy public key to remote server.