Useradd: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


* [[Linux#Commands|Linux]]
* [[Linux#Commands|Linux]]
* [[groupadd]]


=Overview=
=Overview=
Line 8: Line 9:


=Install=
=Install=
 
<font size=-1>
  yum install shadow-utils
  yum install shadow-utils
</font>
=Usage=
<font size=-1>
useradd -g <gid> -u <uid> -m someuser
</font>

Latest revision as of 22:17, 17 November 2021

Internal

Overview

If not available by default, first try adding /usr/sbin to the PATH.

Install

yum install shadow-utils

Usage

useradd -g <gid> -u <uid> -m someuser