freebsd.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sat, 10 Feb 2018 01:36:16 +0200
changeset 2229 1a0b6597e594
parent 1912 8b81a8f0f692
permissions -rw-r--r--
Mark block quot in HTMLe.

.. -*- 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