72 lines
1.5 KiB
HTML
72 lines
1.5 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>adduser(8)</TITLE>
|
|
</HEAD>
|
|
<BODY>
|
|
<H1>adduser(8)</H1>
|
|
<HR>
|
|
<PRE>
|
|
|
|
</PRE>
|
|
<H2>NAME</H2><PRE>
|
|
adduser - add a new user to the system
|
|
|
|
|
|
</PRE>
|
|
<H2>SYNOPSIS</H2><PRE>
|
|
<STRONG>adduser</STRONG> <EM>user</EM> <EM>group</EM> <EM>home</EM>-<EM>dir</EM>
|
|
|
|
|
|
</PRE>
|
|
<H2>EXAMPLES</H2><PRE>
|
|
|
|
<STRONG>adduser</STRONG> <STRONG>ast</STRONG> <STRONG>other</STRONG> <STRONG>/usr/ast</STRONG>
|
|
# How user ast could be added
|
|
|
|
<STRONG>adduser</STRONG> <STRONG>bin</STRONG> <STRONG>operator</STRONG> <STRONG>/usr/src</STRONG>
|
|
# How user bin could be added
|
|
|
|
|
|
</PRE>
|
|
<H2>DESCRIPTION</H2><PRE>
|
|
|
|
<EM>Adduser</EM> adds a new user to the system by making new entries in
|
|
<STRONG>/etc/passwd</STRONG> and <STRONG>/etc/shadow</STRONG> for the new user, creating a new home
|
|
directory, and copying the contents of the template home directory
|
|
<STRONG>/usr/ast</STRONG> into it. The user-id of this new user will be the first free
|
|
number not less than 10. The password is initially empty, the full name
|
|
must be set, and the shell is the Bourne Shell, <STRONG>/bin/sh</STRONG> <STRONG>.</STRONG> Use <EM>passwd</EM> ,
|
|
<EM>chfn</EM> , and <EM>chsh</EM> to change.
|
|
|
|
|
|
</PRE>
|
|
<H2>SEE ALSO</H2><PRE>
|
|
<STRONG><A HREF="../man1/login.1.html">login(1)</A></STRONG>, <STRONG><A HREF="../man1/passwd.1.html">passwd(1)</A></STRONG>, <STRONG><A HREF="../man5/passwd.5.html">passwd(5)</A></STRONG>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</PRE>
|
|
</BODY>
|
|
</HTML>
|