Added more security checks to mbpasswd
This commit is contained in:
@@ -14,14 +14,9 @@
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<BLOCKQUOTE>
|
||||
<div align="right"><h5>Last update 21-Jan-2002</h5></div>
|
||||
<div align="right"><h5>Last update 27-Aug-2005</h5></div>
|
||||
<div align="center"><H1>mbpasswd - The password wrapper.</H1></div>
|
||||
|
||||
<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
|
||||
@@ -33,9 +28,8 @@ 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.
|
||||
You never need to run <strong>mbpasswd</strong> by hand, in fact it is protected so that
|
||||
it can only be started by the bbs or mbsetup.
|
||||
<P> <P>
|
||||
|
||||
<H3>Environment.</H3>
|
||||
@@ -48,15 +42,8 @@ program and if you do, the password for a user are not in sync anymore.
|
||||
|
||||
<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.
|
||||
Not mentioned here because <b>mbpasswd</b> is only called by other programs,
|
||||
running manually is not supported.
|
||||
<P>
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user