> For the complete documentation index, see [llms.txt](https://www.pentestwiki.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.pentestwiki.com/persistence/local/create-account.md).

# Create Account

{% tabs %}
{% tab title="Windows" %}

<pre class="language-powershell"><code class="lang-powershell"><strong># 계정 생성
</strong>net user '&#x3C;username>' '&#x3C;password>' /add

<strong># Administrators 그룹에 추가
</strong>net localgroup Administrators '&#x3C;username>' /add

<strong># 계정 삭제
</strong>net user '&#x3C;username>' /delete
</code></pre>

{% endtab %}

{% tab title="UNIX" %}

<pre class="language-bash"><code class="lang-bash"><strong># 계정 생성 및 패스워드 설정
</strong>useradd '&#x3C;username>'
passwd '&#x3C;username>'

<strong># sudo 권한 부여
</strong>echo "'&#x3C;username>' ALL=(root) NOPASSWD: ALL" >> /etc/sudoers'
</code></pre>

{% endtab %}
{% endtabs %}
