Initial Settings : Add User Accounts2018/04/27 |
[1] | After installing System, there is only a user you configured during installation except System Accounts and he is an administrative user. If you'd like to add more common user accounts on System, Configure like follows. |
# add a user [bionic] ubuntu@dlp:~$ [sudo] password for ubuntu: # input self password Adding user `bionic' ... Adding new group `bionic' (1001) ... Adding new user `bionic' (1001) with group `bionic' ... Creating home directory `/home/bionic' ... Copying files from `/etc/skel' ... Enter new UNIX password: # set user password Retype new UNIX password: # confirm passwd: password updated successfully Changing the user information for bionic Enter the new value, or press ENTER for the default Full Name []: # input user info (OK if not set) Room Number []: Work Phone []: Home Phone []: Other []: Is the information correct? [Y/n] yubuntu@dlp:~$ |
[2] | If you'd like to give privileges to a new user, Configure like follows. |
# try to run a command which requires root privilege bionic@dlp:~$ [sudo] password for bionic: # input own password ..... ..... Ubuntu 18.04 LTS ubuntu ttyS0 dlp login: |
[3] | If you'd like to remove user accounts, Configure like follows. |
# remove a user [bionic] (removed user account and his home directory) ubuntu@dlp:~$ sudo deluser bionic --remove-home
|
Sponsored Link |