diff options
Diffstat (limited to 'sag-0.6.1-www/Invisible/sag-0.6/node93.html')
-rw-r--r-- | sag-0.6.1-www/Invisible/sag-0.6/node93.html | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/sag-0.6.1-www/Invisible/sag-0.6/node93.html b/sag-0.6.1-www/Invisible/sag-0.6/node93.html new file mode 100644 index 0000000..993e2c4 --- /dev/null +++ b/sag-0.6.1-www/Invisible/sag-0.6/node93.html @@ -0,0 +1,54 @@ +<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> +<!--Converted with LaTeX2HTML 96.1-h (September 30, 1996) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds --> +<HTML> +<HEAD> +<TITLE>Changing user properties</TITLE> +<META NAME="description" CONTENT="Changing user properties"> +<META NAME="keywords" CONTENT="sag"> +<META NAME="resource-type" CONTENT="document"> +<META NAME="distribution" CONTENT="global"> +<LINK REL=STYLESHEET HREF="sag.css"> +</HEAD> +<BODY LANG="EN" > + <A NAME="tex2html1486" HREF="node94.html"><IMG WIDTH=37 HEIGHT=24 ALIGN=BOTTOM ALT="next" SRC="./next_motif.gif"></A> <A NAME="tex2html1484" HREF="node86.html"><IMG WIDTH=26 HEIGHT=24 ALIGN=BOTTOM ALT="up" SRC="./up_motif.gif"></A> <A NAME="tex2html1478" HREF="node92.html"><IMG WIDTH=63 HEIGHT=24 ALIGN=BOTTOM ALT="previous" SRC="./previous_motif.gif"></A> <A NAME="tex2html1488" HREF="node1.html"><IMG WIDTH=65 HEIGHT=24 ALIGN=BOTTOM ALT="contents" SRC="./contents_motif.gif"></A> <A NAME="tex2html1489" HREF="node114.html"><IMG WIDTH=43 HEIGHT=24 ALIGN=BOTTOM ALT="index" SRC="./index_motif.gif"></A> <BR> +<B> Next:</B> <A NAME="tex2html1487" HREF="node94.html">Removing a user</A> +<B>Up:</B> <A NAME="tex2html1485" HREF="node86.html">Managing user accounts</A> +<B> Previous:</B> <A NAME="tex2html1479" HREF="node92.html">Creating a user by </A> +<BR> <P> +<H1><A NAME="SECTION001030000000000000000">Changing user properties</A></H1> +<P> + There are a few commands for changing various + properties of an account (i.e., the relevant field + in <tt>/etc/passwd</tt><A NAME="2875"> </A>): + <BLOCKQUOTE> <DL ><DT><STRONG><tt>chfn</tt><A NAME="2877"> </A></STRONG> +<DD> Change the full name field. + <DT><STRONG><tt>chsh</tt><A NAME="2879"> </A></STRONG> +<DD> Change the login shell. + <DT><STRONG><tt>passwd</tt><A NAME="2881"> </A></STRONG> +<DD> Change the password. +<P> +</DL></BLOCKQUOTE> + The super-user may use these commands to change the + properties of any account. Normal users can only change + the properties of their own account. It may + sometimes be necessary to disable these commands (with + <tt>chmod</tt><A NAME="2883"> </A>) for normal users, for example in an environment + with many novice users. +<P> + Other tasks need to be done by hand. For example, to + change the username, you need to edit <tt>/etc/passwd</tt><A NAME="2885"> </A> + directly (with <tt>vipw</tt><A NAME="2887"> </A>, remember). Likewise, to add + or remove the user to more groups, you need to edit + <tt>/etc/group</tt><A NAME="2889"> </A> (with <tt>vigr</tt><A NAME="2891"> </A>). Such tasks tend to + be rare, however, and should be done with caution: for + example, if + you change the username, e-mail will no longer reach the + user, unless you also create a mail alias.<A NAME="tex2html44" HREF="footnode.html#2790"><IMG ALIGN=BOTTOM ALT="gif" SRC="./foot_motif.gif"></A> +<P> +<BR> <HR> +<P><ADDRESS> +<I>Lars Wirzenius <BR> +Sat Nov 15 02:32:11 EET 1997</I> +</ADDRESS> +</BODY> +</HTML> |