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

54 lines
3.0 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.4 Setting user attributes</TITLE>
</HEAD>
<BODY>
<meta name="description" value="4.4.4 Setting user attributes">
<meta name="keywords" value="gs">
<meta name="resource-type" value="document">
<meta name="distribution" value="global">
<P>
<BR> <HR><A NAME=tex2html3937 HREF="node171.html"><IMG ALIGN=BOTTOM ALT="next" SRC="next_motif.gif"></A> <A NAME=tex2html3935 HREF="node166.html"><IMG ALIGN=BOTTOM ALT="up" SRC="up_motif.gif"></A> <A NAME=tex2html3929 HREF="node169.html"><IMG ALIGN=BOTTOM ALT="previous" SRC="previous_motif.gif"></A> <A NAME=tex2html3939 HREF="node1.html"><IMG ALIGN=BOTTOM ALT="contents" SRC="contents_motif.gif"></A> <A NAME=tex2html3940 HREF="node250.html"><IMG ALIGN=BOTTOM ALT="index" SRC="index_motif.gif"></A> <BR>
<B> Next:</B> <A NAME=tex2html3938 HREF="node171.html">4.4.5 Groups</A>
<B>Up:</B> <A NAME=tex2html3936 HREF="node166.html">4.4 Managing Users</A>
<B> Previous:</B> <A NAME=tex2html3930 HREF="node169.html">4.4.3 Deleting users</A>
<BR> <HR> <P>
<H2><A NAME=SECTION00644000000000000000>4.4.4 Setting user attributes</A></H2>
<P>
<A NAME=4433>&#160;</A>
<A NAME=4434>&#160;</A>
<A NAME=4511>&#160;</A>
After you have created a user, you may need to change attributes for
that user, such as home directory or password. The easiest way to
do this is to change the values directly in <tt>/etc/passwd</tt>. To
set a user's password, use the <tt>passwd</tt> command. For example,
<P><TT> # <em>passwd larry</em>
<P></TT>
will change <tt>larry</tt>'s password. Only <tt>root</tt> may change other
user's password in this manner. Users can change their own passwords with
<tt>passwd</tt> as well.
<P>
<A NAME=4512>&#160;</A>
<A NAME=4513>&#160;</A>
<A NAME=4514>&#160;</A>
<A NAME=4515>&#160;</A>
<A NAME=4448>&#160;</A>
<A NAME=4449>&#160;</A>
On some systems, the commands <tt>chfn</tt> and <tt>chsh</tt> will be available
to allow users to set their own fullname and login shell attributes. If
not, they will have to ask the system administrator to change these
attributes for them.
<P>
<BR> <HR><A NAME=tex2html3937 HREF="node171.html"><IMG ALIGN=BOTTOM ALT="next" SRC="next_motif.gif"></A> <A NAME=tex2html3935 HREF="node166.html"><IMG ALIGN=BOTTOM ALT="up" SRC="up_motif.gif"></A> <A NAME=tex2html3929 HREF="node169.html"><IMG ALIGN=BOTTOM ALT="previous" SRC="previous_motif.gif"></A> <A NAME=tex2html3939 HREF="node1.html"><IMG ALIGN=BOTTOM ALT="contents" SRC="contents_motif.gif"></A> <A NAME=tex2html3940 HREF="node250.html"><IMG ALIGN=BOTTOM ALT="index" SRC="index_motif.gif"></A> <BR>
<B> Next:</B> <A NAME=tex2html3938 HREF="node171.html">4.4.5 Groups</A>
<B>Up:</B> <A NAME=tex2html3936 HREF="node166.html">4.4 Managing Users</A>
<B> Previous:</B> <A NAME=tex2html3930 HREF="node169.html">4.4.3 Deleting users</A>
<BR> <HR> <P>
<BR> <HR>
<P><ADDRESS>
<I>Matt Welsh <BR>
mdw@sunsite.unc.edu</I>
</ADDRESS>
</BODY>