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

49 lines
2.8 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.3 Deleting users</TITLE>
</HEAD>
<BODY>
<meta name="description" value="4.4.3 Deleting users">
<meta name="keywords" value="gs">
<meta name="resource-type" value="document">
<meta name="distribution" value="global">
<P>
<BR> <HR><A NAME=tex2html3925 HREF="node170.html"><IMG ALIGN=BOTTOM ALT="next" SRC="next_motif.gif"></A> <A NAME=tex2html3923 HREF="node166.html"><IMG ALIGN=BOTTOM ALT="up" SRC="up_motif.gif"></A> <A NAME=tex2html3917 HREF="node168.html"><IMG ALIGN=BOTTOM ALT="previous" SRC="previous_motif.gif"></A> <A NAME=tex2html3927 HREF="node1.html"><IMG ALIGN=BOTTOM ALT="contents" SRC="contents_motif.gif"></A> <A NAME=tex2html3928 HREF="node250.html"><IMG ALIGN=BOTTOM ALT="index" SRC="index_motif.gif"></A> <BR>
<B> Next:</B> <A NAME=tex2html3926 HREF="node170.html">4.4.4 Setting user attributes</A>
<B>Up:</B> <A NAME=tex2html3924 HREF="node166.html">4.4 Managing Users</A>
<B> Previous:</B> <A NAME=tex2html3918 HREF="node168.html">4.4.2 Adding users</A>
<BR> <HR> <P>
<H2><A NAME=SECTION00643000000000000000>4.4.3 Deleting users</A></H2>
<P>
<A NAME=4417>&#160;</A>
<A NAME=4418>&#160;</A>
<A NAME=4509>&#160;</A>
<A NAME=4510>&#160;</A>
Similarly, deleting users can be accomplished with the commands
<tt>userdel</tt> or <tt>deluser</tt> depending on what software was
installed on the system.
<P>
<A NAME=4423>&#160;</A>
<A NAME=4424>&#160;</A>
If you'd like to temporarily ``disable'' a
user from logging into the system (without deleting the user's account),
you can simply prepend an asterisk (``<tt>*</tt>'') to
the password field in <tt>/etc/passwd</tt>. For example, changing <tt>kiwi</tt>'s
<tt>/etc/passwd</tt> entry to
<P><TT> kiwi:*Xv8Q981g71oKK:102:100:Laura Poole:/home/kiwi:/bin/bash
<P></TT>
will restrict <tt>kiwi</tt> from logging in.
<P>
<BR> <HR><A NAME=tex2html3925 HREF="node170.html"><IMG ALIGN=BOTTOM ALT="next" SRC="next_motif.gif"></A> <A NAME=tex2html3923 HREF="node166.html"><IMG ALIGN=BOTTOM ALT="up" SRC="up_motif.gif"></A> <A NAME=tex2html3917 HREF="node168.html"><IMG ALIGN=BOTTOM ALT="previous" SRC="previous_motif.gif"></A> <A NAME=tex2html3927 HREF="node1.html"><IMG ALIGN=BOTTOM ALT="contents" SRC="contents_motif.gif"></A> <A NAME=tex2html3928 HREF="node250.html"><IMG ALIGN=BOTTOM ALT="index" SRC="index_motif.gif"></A> <BR>
<B> Next:</B> <A NAME=tex2html3926 HREF="node170.html">4.4.4 Setting user attributes</A>
<B>Up:</B> <A NAME=tex2html3924 HREF="node166.html">4.4 Managing Users</A>
<B> Previous:</B> <A NAME=tex2html3918 HREF="node168.html">4.4.2 Adding users</A>
<BR> <HR> <P>
<BR> <HR>
<P><ADDRESS>
<I>Matt Welsh <BR>
mdw@sunsite.unc.edu</I>
</ADDRESS>
</BODY>