Ubuntu:Menambahkan User: Difference between revisions
No edit summary |
|||
| Line 1: | Line 1: | ||
<syntaxhighlight lang="shell">adduser username</syntaxhighlight> | |||
*Konfirmasi password untuk user baru | *Konfirmasi password untuk user baru | ||
<syntaxhighlight lang="shell"> | |||
Set password prompts: | |||
Enter new UNIX password: | |||
Retype new UNIX password: | |||
passwd: password updated successfully | |||
</syntaxhighlight> | |||
*Isi from berikut. Atau bisa dikosongkan juga bisa. | *Isi from berikut. Atau bisa dikosongkan juga bisa. | ||
<syntaxhighlight lang="shell"> | |||
User information prompts: | |||
Changing the user information for username | |||
Enter the new value, or press ENTER for the default | |||
Full Name []: | |||
Room Number []: | |||
Work Phone []: | |||
Home Phone []: | |||
Other []: | |||
Is the information correct? [Y/n] | |||
</syntaxhighlight> | |||
*Gunakan perintah usermod untuk menambahkan user baru dengan akses root | *Gunakan perintah usermod untuk menambahkan user baru dengan akses root | ||
<syntaxhighlight lang="shell">usermod -aG sudo username</syntaxhighlight> | |||
==Terkait== | ==Terkait== | ||