Files
oldlinux-files/docs/Install-Guide/install-guide-2.2.2/node168.html
2024-02-19 00:23:35 -05:00

53 lines
3.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3O//DTD W3 HTML 2.0//EN">
<!Converted with LaTeX2HTML 95.1 (Fri Jan 20 1995) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds >
<HEAD>
<TITLE>4.4.2 Adding users</TITLE>
</HEAD>
<BODY>
<meta name="description" value="4.4.2 Adding users">
<meta name="keywords" value="gs">
<meta name="resource-type" value="document">
<meta name="distribution" value="global">
<P>
<BR> <HR><A NAME=tex2html3913 HREF="node169.html"><IMG ALIGN=BOTTOM ALT="next" SRC="next_motif.gif"></A> <A NAME=tex2html3911 HREF="node166.html"><IMG ALIGN=BOTTOM ALT="up" SRC="up_motif.gif"></A> <A NAME=tex2html3905 HREF="node167.html"><IMG ALIGN=BOTTOM ALT="previous" SRC="previous_motif.gif"></A> <A NAME=tex2html3915 HREF="node1.html"><IMG ALIGN=BOTTOM ALT="contents" SRC="contents_motif.gif"></A> <A NAME=tex2html3916 HREF="node250.html"><IMG ALIGN=BOTTOM ALT="index" SRC="index_motif.gif"></A> <BR>
<B> Next:</B> <A NAME=tex2html3914 HREF="node169.html">4.4.3 Deleting users</A>
<B>Up:</B> <A NAME=tex2html3912 HREF="node166.html">4.4 Managing Users</A>
<B> Previous:</B> <A NAME=tex2html3906 HREF="node167.html">4.4.1 User management concepts</A>
<BR> <HR> <P>
<H2><A NAME=SECTION00642000000000000000>4.4.2 Adding users</A></H2>
<P>
<A NAME=4503>&#160;</A>
<A NAME=4504>&#160;</A>
<A NAME=4505>&#160;</A>
<A NAME=4506>&#160;</A>
<A NAME=4507>&#160;</A>
<A NAME=4508>&#160;</A>
When adding a user, there are several steps to be taken. First, the
user must be given an entry in <tt>/etc/passwd</tt>, with a unique
username and UID. The GID, fullname, and other information must be
specified. The user's home directory must be created, and the permissions
on the directory set so that the user owns the directory. Shell
initialization files must be provided in the new home directory and other
system-wide configuration must be done (for example, setting up a spool
for incoming e-mail for the new user).
<P>
While it is not difficult to add users by hand (I do), when you are
running a system with many users it is easy to forget something.
The easiest way to add users is to use an interactive program which
asks you for the required information and updates all of the system
files automatically. The name of this program is <tt>useradd</tt> or
<tt>adduser</tt>, depending on what software was installed. The man pages
for these commands should be fairly self-explanatory.
<P>
<BR> <HR><A NAME=tex2html3913 HREF="node169.html"><IMG ALIGN=BOTTOM ALT="next" SRC="next_motif.gif"></A> <A NAME=tex2html3911 HREF="node166.html"><IMG ALIGN=BOTTOM ALT="up" SRC="up_motif.gif"></A> <A NAME=tex2html3905 HREF="node167.html"><IMG ALIGN=BOTTOM ALT="previous" SRC="previous_motif.gif"></A> <A NAME=tex2html3915 HREF="node1.html"><IMG ALIGN=BOTTOM ALT="contents" SRC="contents_motif.gif"></A> <A NAME=tex2html3916 HREF="node250.html"><IMG ALIGN=BOTTOM ALT="index" SRC="index_motif.gif"></A> <BR>
<B> Next:</B> <A NAME=tex2html3914 HREF="node169.html">4.4.3 Deleting users</A>
<B>Up:</B> <A NAME=tex2html3912 HREF="node166.html">4.4 Managing Users</A>
<B> Previous:</B> <A NAME=tex2html3906 HREF="node167.html">4.4.1 User management concepts</A>
<BR> <HR> <P>
<BR> <HR>
<P><ADDRESS>
<I>Matt Welsh <BR>
mdw@sunsite.unc.edu</I>
</ADDRESS>
</BODY>