70 lines
2.8 KiB
HTML
70 lines
2.8 KiB
HTML
<HTML>
|
|
<!-- $Id$ -->
|
|
<HEAD>
|
|
<META http-equiv="Content-Type" content="text/html; charset=ISO 8859-1">
|
|
<META http-equiv="Content-Style-Type" content="text/css">
|
|
<META name="author" lang="en" content="Michiel Broek">
|
|
<META name="copyright" lang="en" content="Copyright Michiel Broek">
|
|
<META name="description" lang="en" content="MBSE BBS Manual">
|
|
<META name="keywords" lang="en" content="MBSE BBS, MBSE, BBS, manual, fido, fidonet, gateway, tosser, mail, tic, mailer">
|
|
<TITLE>MBSE BBS Programs - mbuseradd - The useradd wrapper.</TITLE>
|
|
<LINK rel=stylesheet HREF="../manual.css">
|
|
</HEAD>
|
|
<BODY>
|
|
<BLOCKQUOTE>
|
|
<h5>Last update 21-Jan-2002</h5>
|
|
<P> <P>
|
|
|
|
<H1>mbpasswd - The password wrapper.</H1>
|
|
<P>
|
|
|
|
<H3>Synopsis.</h3>
|
|
<P>
|
|
<code><strong>mbpasswd</strong> [-opt] [username] [password]</code>
|
|
<P> <P>
|
|
|
|
<H3>Description.</h3>
|
|
<P>
|
|
<strong>mbpasswd</strong> is the wrapper for the <strong>passwd</strong> program
|
|
is present on all GNU/Linux systems. To use <b>passwd</b> to change the password of
|
|
another user is only allowed by <b>root</b>. The mbpasswd program overcomes this limitation.
|
|
The wrapper <b>mbpasswd</b> is run from the bbs by user <b>mbse</b> when a new
|
|
user is being registered to set his password. It can also be started from the
|
|
bbs when an existing user changes his password. If you as sysop use
|
|
<strong>mbsetup</strong> to change a users password it will be used too.
|
|
His password under Unix is then always the same as his password in the bbs program.
|
|
This is necessary for the user to be able to get his email using the pop3 protocol.<P>
|
|
You never need to run <strong>mbpasswd</strong> by hand, in fact it is protected so that only
|
|
members of group <b>bbs</b> are allowed to use it. User <b>mbse</b> can use this
|
|
program and if you do, the password for a user are not in sync anymore.
|
|
<P> <P>
|
|
|
|
<H3>Environment.</H3>
|
|
<P>
|
|
<strong>mbpasswd</strong> must be installed setuid root and setgid root, ls -la looks like this:<br>
|
|
<pre>
|
|
-rws--s--x 1 root root 6644 Jun 26 21:23 /opt/mbse/bin/mbpasswd*
|
|
</pre>
|
|
<P> <P>
|
|
|
|
<H3>Commands.</H3>
|
|
<P>
|
|
<code><strong>mbpasswd</strong> [-opt] [username] [password]</code> for example:<br>
|
|
<pre>
|
|
mbpasswd -f michiel secret
|
|
</pre>
|
|
Valid options are <strong>-f</strong> (forced), this will also change locked passwords,
|
|
this has only effect if your system uses shadow passwords. This is used for new
|
|
users or from the <b>mbsetup</b> program to reset users passwords.<br>
|
|
If you use <strong>-n</strong> as option, locked passwords cannot be changed.
|
|
This mode is used when a user changes his password from the bbs.
|
|
<P>
|
|
|
|
|
|
<A HREF="index.htm"><IMG SRC="../images/larrow.gif" ALT="Index" Border="0">Back to index</A>
|
|
<A HREF="../index.htm"><IMG SRC="../images/b_arrow.gif" ALT="Main" Border="0">Back to Main index</A>
|
|
</BLOCKQUOTE>
|
|
</BODY>
|
|
</HTML>
|
|
|