Magzter Gold (Sitewide AU)
ADMIN Network & Security (Digital)

ADMIN Network & Security (Digital)

1 Issue, November/December 2024

Also available on
Zinio Unlimited logo
1-month free trial

Get unlimited access to this article, this issue, + back issues & 5,000+ other magazines.

Renews at just $8.99/month after trial.

Cancel anytime.
Learn more

How User Creation Works

The users directive in cloud-init is not very intuitive, so it deserves some explanation. To begin, name defines the username of the new user, gecos defines the “real name,” and group adds the openbsd user to the wheel group, which is a group with certain administrative rights (e.g., the ability to become the superuser with the use of su, if they have a valid password and root happens to be unlocked). The cloud-init utility creates users with locked passwords by default to force users to adopt SSH key authentication instead of regular passwords. You are supposed to use the ssh_authorized_keys parameter to provide your SSH public key. Because this article is didactic in nature, I have chosen to simplify, set a password with plain_text_ password, and unlock it with lock_passwd:…
You're reading a preview of
ADMIN Network & Security (Digital) - 1 Issue, November/December 2024

DiscountMags is a licensed distributor (not a publisher) of the above content and Publication through Zinio LLC. Accordingly, we have no editorial control over the Publications. Any opinions, advice, statements, services, offers or other information or content expressed or made available by third parties, including those made in Publications offered on our website, are those of the respective author(s) or publisher(s) and not of DiscountMags. DiscountMags does not guarantee the accuracy, completeness, truthfulness, or usefulness of all or any portion of any publication or any services or offers made by third parties, nor will we be liable for any loss or damage caused by your reliance on information contained in any Publication, or your use of services offered, or your acceptance of any offers made through the Service or the Publications. For content removal requests, please contact Zinio.

© 1999 – 2025 DiscountMags.com All rights reserved.