72 lines
1.6 KiB
HTML
72 lines
1.6 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<TITLE>passwd(1)</TITLE>
|
|
</HEAD>
|
|
<BODY>
|
|
<H1>passwd(1)</H1>
|
|
<HR>
|
|
<PRE>
|
|
|
|
</PRE>
|
|
<H2>NAME</H2><PRE>
|
|
passwd, chfn, chsh - change a login password, full name or shell
|
|
|
|
|
|
</PRE>
|
|
<H2>SYNOPSIS</H2><PRE>
|
|
<STRONG>passwd</STRONG> [<EM>user</EM>]
|
|
<STRONG>chfn</STRONG> [<EM>user</EM>] <EM>fullname</EM>
|
|
<STRONG>chfn</STRONG> [<EM>user</EM>] <EM>shell</EM>
|
|
|
|
|
|
</PRE>
|
|
<H2>EXAMPLES</H2><PRE>
|
|
|
|
<STRONG>passwd</STRONG> # Change current user's password
|
|
|
|
<STRONG>passwd</STRONG> <STRONG>ast</STRONG> # Change ast's password (super-user only)
|
|
|
|
<STRONG>chsh</STRONG> <STRONG>/usr/bin/mail</STRONG> # For those who only read mail
|
|
|
|
<STRONG>chfn</STRONG> <STRONG>'Jane</STRONG> <STRONG>Doe'</STRONG> # Current user is Jane Doe
|
|
|
|
|
|
</PRE>
|
|
<H2>DESCRIPTION</H2><PRE>
|
|
|
|
<EM>Passwd</EM> is used to change your password. It prompts for the old and new
|
|
passwords. It asks for the new password twice, to reduce the effect of a
|
|
typing error. <EM>Chfn</EM> changes the full name (GECOS field) in the password
|
|
file. <EM>Chsh</EM> changes your login shell. Do not forget to copy the modified
|
|
password file back to the root file system, or the changes will be lost
|
|
when the system is rebooted.
|
|
|
|
|
|
</PRE>
|
|
<H2>SEE ALSO</H2><PRE>
|
|
<STRONG><A HREF="../man1/login.1.html">login(1)</A></STRONG>, <STRONG><A HREF="../man1/su.1.html">su(1)</A></STRONG>, <STRONG><A HREF="../man3/crypt.3.html">crypt(3)</A></STRONG>, <STRONG><A HREF="../man3/getpwent.3.html">getpwent(3)</A></STRONG>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</PRE>
|
|
</BODY>
|
|
</HTML>
|