freebsd.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sun, 30 Dec 2018 17:41:54 +0200
changeset 2320 b7a2c43902f3
parent 1912 8b81a8f0f692
permissions -rw-r--r--
Cygwin bash completion.

.. -*- coding: utf-8; -*-

============
 FreeBSD OS
============
.. contents::
   :local:

User management
===============

Add existing user to group::

  $ pw usermod user-name -G to-group

Add a new user to group::

  $ pw useradd jerry -G sales
  $ passwd jerry

FreeBSD ports
=============

Configure package::

  $ sudo make config

Build package::

  $ sudo make

Install package::

  $ sudo make install