Create Unix user accounts and enable SSH key authentication. For more information on Droid, please see droidphp.com.
The steps involved are:-
- Add a standard Unix user account.
- Create a
.sshdirectory andauthorized_keysfile with recommended access modes. - Append ssh public key data to the
authorized_keysfile.
- The platform is Debian-based.
- The user is created using the
addusercommand with the user argument and zero options.
-
A list of one or more users to create, as follows:-
mod_droid_user_users: - username: <string> homedir: <string> # path to the user's home directory (see note below) pubkey: <string> # SSH public key file content (or an @path to a # public key file)Note that the
homedirfield doesn't currently affect where the user's home is created and so should be set to the usual debian-style home for the user.
None.