mbpasswd - The password wrapper.

Last update 07-Oct-2000

mbpasswd [-opt] [username] [password]

mbpasswd is the wrapper for the passwd program is present on all Linux systems. To use passwd to change another users password is only allowed by root. The wrapper mbpasswd is run from the bbs by user mbse when an ordinary user is logged in the bbs. The program is called when a new user logs in the bbs or when an excisting user changes his password. 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. 

You never need to run mbuseradd by hand, in fact it is protected so that only members of group bbs are allowed to use it.

 

mbpasswd must be installed setuid root and setgid root, ls -la looks like this:

-rws--s--x   1 root     root         6644 Jun 26 21:23 /opt/mbse/bin/mbpasswd*
 

mbpasswd [-opt] [username] [password] for example:

mbpasswd -f michiel secret
Valid options are -f, this will also change locked passwords, this has only effect if your system uses shadow passwords. If you use -n as option, locked passwords cannot be changed.

If you find any bugs, mispelled documentation etc, please contact the author: Michiel Broek at 2:280/2802@Fidonet or Michiel_Broek@f2802.n280.z2.fidonet.org

Index Back to index Main Back to Main index