Initial Settings : Add User Accounts2019/04/22 |
[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 [disco] ubuntu@dlp:~$ [sudo] password for ubuntu: # input self password Adding user `disco' ... Adding new group `disco' (1001) ... Adding new user `disco' (1001) with group `disco' ... Creating home directory `/home/disco' ... 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 disco 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 disco@dlp:~$ [sudo] password for disco: # input own password ..... ..... Ubuntu 19.04 ubuntu ttyS0 dlp login: |
[3] | If you'd like to remove user accounts, Configure like follows. |
# remove a user [disco] (removed user account and his home directory) ubuntu@dlp:~$ sudo deluser disco --remove-home
|
Sponsored Link |