howto to delete login/passwd in sasldb2

Andreas Hasenack andreas at conectiva.com.br
Fri Jan 21 07:23:49 EST 2005


On Fri, Jan 21, 2005 at 09:01:27AM +0100, Andreas Haase wrote:
> Hi,
> 
> >I just would like to know how I delete the couple login/passwd in the 
> >sasldb2 data base ?
> 
> saslpasswd2 -d <login>
 
However, take a look at this, it may catch some people by surprise:

(/etc/sasldb2 doesn't exist at this point)

[root at pandora ~]# echo secret | saslpasswd2 -c -p testuser

[root at pandora ~]# sasldblistusers2
testuser at pandora.conectiva: userPassword

[root at pandora ~]# strings /etc/sasldb2
secret
testuser
pandora.conectiva
userPassword

[root at pandora ~]# saslpasswd2 -d testuser

[root at pandora ~]# sasldblistusers2

[root at pandora ~]# strings /etc/sasldb2
secret
testuser
pandora.conectiva
userPassword

[root at pandora ~]#

---
Cyrus Home Page: http://asg.web.cmu.edu/cyrus
Cyrus Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html




More information about the Info-cyrus mailing list