generic-poky/documentation/ref-manual/eclipse/html/poky-ref-manual/ref-classes-useradd.html

29 lines
1.6 KiB
HTML
Raw Normal View History

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>7.19.<2E>Adding Users - useradd.bbclass</title>
<link rel="stylesheet" type="text/css" href="../book.css">
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="The Yocto Project Reference Manual">
<link rel="up" href="ref-classes.html" title="Chapter<65>7.<2E>Classes">
<link rel="prev" href="ref-classes-siteinfo.html" title="7.18.<2E>Autotools configuration data cache - siteinfo.bbclass">
<link rel="next" href="ref-classes-externalsrc.html" title="7.20.<2E>Using External Source - externalsrc.bbclass">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="section" title="7.19.<2E>Adding Users - useradd.bbclass">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="ref-classes-useradd"></a>7.19.<2E>Adding Users - <code class="filename">useradd.bbclass</code>
</h2></div></div></div>
<p>
If you have packages that install files that are owned by custom users or groups,
you can use this class to specify those packages and associate the users and groups
with those packages.
The <code class="filename">meta-skeleton/recipes-skeleton/useradd/useradd-example.bb</code>
recipe in the <a class="link" href="../dev-manual/source-directory.html" target="_self">Source Directory</a>
provides a simple exmample that shows how to add three
users and groups to two packages.
See the <code class="filename">useradd-example.bb</code> for more information on how to
use this class.
</p>
</div></body>
</html>