Go to main content

man pages section 8: System Administration Commands

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

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(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.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+----------------------------------+
       |ATTRIBUTE TYPE |         ATTRIBUTE VALUE          |
       +---------------+----------------------------------+
       |Availability   | system/library/security/libsasl2 |
       +---------------+----------------------------------+
       |Stability      | Pass-through volatile            |
       +---------------+----------------------------------+

SEE ALSO
       sasldblistusers2(8)

       rfc4422 - Simple Authentication and Security Layer (SASL)



NOTES
       Source  code  for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This     software     was    built    from    source    available    at
       https://github.com/oracle/solaris-userland.   The  original   community
       source  was  downloaded from  ftp://ftp.cyrusimap.org/cyrus-sasl/cyrus-
       sasl-2.1.26.tar.gz.

       Further information about this software can be found on the open source
       community website at https://www.cyrusimap.org/sasl/.



CMU SASL                          Mar 7, 2005                   SASLPASSWD2(8)