SASLPASSWD2(8) System Manager's Manual SASLPASSWD2(8)NAME
saslpasswd2 - set a user's sasl password
SYNOPSIS
saslpasswd2 [-p] [-d] [-c] [-n] [-f file] [-u domain] [-a appname] [-v] userid
DESCRIPTION
saslpasswd2 is used by a server administrator to set a user's sasl password for server programs and SASL mechanisms which use the standard
libsasl database of user secrets.
OPTIONS -p Pipe mode - saslpasswd2 will neither prompt for the password nor verify that it was entered correctly. This is the default when
standard input is not a terminal.
-c Creates an entry for the user if the user doesn't already exist. This is mutually exclusive with the -d (delete user) flag.
-d Deletes the entry for the user. This is mutually exclusive with the -c (create user) flag.
-n Don't set the plaintext userPassword property for the user. Only mechanism-specific secrets will be set (e.g. OTP, SRP)
-u domain
use domain for user domain (realm).
-f file
use file for sasldb
-a appname
use appname as application name.
-v Print libsasl2 version number and exit.
SEE ALSO sasldblistusers2(8)
rfc4422 - Simple Authentication and Security Layer (SASL)
CMU SASL Mar 7, 2005 SASLPASSWD2(8)
Check Out this Related Man Page
sasl_server_userdb_checkpass_t(3) SASL man pages sasl_server_userdb_checkpass_t(3)NAME
sasl_server_userdb_checkpass_t - Plaintext Password Verification Callback
SYNOPSIS
#include <sasl/sasl.h>
int sasl_server_userdb_checkpass_t(sasl_conn_t *conn,
void *context,
const char *user,
const char *pass,
unsigned passlen,
struct propctx *propctx)
DESCRIPTION
sasl_server_userdb_checkpass_t is used to verify a plaintext password against the callback supplier's user database. This is to allow
additional ways to encode the userPassword property.
context context from the callback record
user NUL terminated user name with user@realm syntax
pass password to check (may not be NUL terminated)
passlen length of the password
propctx property context to fill in with userPassword
RETURN VALUE
SASL callback functions should return SASL return codes. See sasl.h for a complete list. SASL_OK indicates success.
SEE ALSO sasl(3), sasl_callbacks(3), sasl_errors(3), sasl_server_userdb_setpass_t(3)SASL 10 July 2001 sasl_server_userdb_checkpass_t(3)
OK, I am stuck and could use some help here.
I have a RSYNC script that I wrote to where I would like to have the users password "never" initiated. I been trying to get the /etc/rsyncd.secrets file to work, but keep getting error messages. But I think it has to do with the way my script is... (2 Replies)
I'm trying to set up a script that takes user input and validates that the user input was entered correctly.
So far I have this:
while :
do
echo "Please enter your name."
read NAME
if
then
echo "You have not entered a name."
echo... (13 Replies)
Hi All,
Below is some sample content of my input file:
There are many types and traditions of anarchism, some of which are ]. Strains of anarchism have been divided into the categories of ] and ] or similar dual classifications. Anarchism is often considered to be a radical ] ideology, and... (8 Replies)
I know, sounds mutually exclusive :-)
I have a script where I ask for a password and store it in a variable, and then use it with sudo on an array of other hosts. The password winds up being choed back to my terminal as well as to the process on the remote host, like:
Attempting to update... (2 Replies)