Skip to content
Elliott T. T. Abe edited this page Aug 21, 2023 · 3 revisions

Notes on computer management and usage

Author: Modified by Elliott Abe, Originally written by Takafumi Arakaki

Software installation

Prefer using Ubuntu's package manager (sudo apt install <PACKAGE>, sudo dpkg -i ... etc.) as much as possible. There has to be a very very VERY good reason when using other kinds of installation methods (e.g., sudo pip install <PACKAGE>, sudo sh <INSTALLATION_SCRIPT>).

Please contact me whenever you think you need software which is not in Ubuntu's official repository. -- Elliott

See also: Per-user_installation.

User management

  • Add user named <USER_NAME>: sudo adduser <USER_NAME>
  • (Optional) Grant a user <USER_NAME> the permission to do sudo: sudo usermod -aG sudo <USER_NAME>

See:

Example

$ sudo adduser eabe
Adding user `eabe' ...
Adding new group `eabe' (1000) ...
Adding new user `eabe' (1000) with group `eabe' ...
Creating home directory `/home/eabe' ...
Copying files from `/etc/skel' ...
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Changing the user information for eabe
Enter the new value, or press ENTER for the default
        Full Name []: Elliott
        Room Number []:
        Work Phone []:
        Home Phone []:
        Other []:
Is the information correct? [Y/n]

Clone this wiki locally