How are Passwords Stored

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

jonny
Posts: 39
Joined: Wed Mar 22, 2006 1:25 pm

How are Passwords Stored

Postby jonny » Mon Aug 07, 2006 7:12 am

Hello,

Quick question - how are passwords stored on the Scalix server, are they encrypted or stored as plaintext?

Thanks
John.

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Mon Aug 07, 2006 10:10 am

They are encrypted within in hidden USERLIST directory. The encryption is basically a one-way hash, similar to what's being used in /etc/shadow under Linux.

Cheers,
Florian.
Florian von Kurnatowski, Die Harder!

marzl

Postby marzl » Fri Oct 19, 2007 7:34 am

What kind of encrytion is used? MD5 or SHA?

jch
Scalix
Scalix
Posts: 202
Joined: Thu Mar 25, 2004 10:25 am

Postby jch » Fri Oct 19, 2007 7:58 am

It's an MD5 hash, identical to that used in /etc/shadow. (It uses crypt(3)).

jch

marzl

Postby marzl » Fri Oct 19, 2007 8:15 am

thx!

stephan.klein
Posts: 68
Joined: Thu Feb 22, 2007 1:10 pm
Location: Germany

Postby stephan.klein » Fri Oct 26, 2007 4:32 am

One question on this - is there a way to get the hash to an openldap directory? I prepare to move my scalix users to openldap as described in the wiki, but I don't want my users to have to set up a new password.

Regards
Stephan

jch
Scalix
Scalix
Posts: 202
Joined: Thu Mar 25, 2004 10:25 am

Postby jch » Fri Oct 26, 2007 4:43 am

Possibly. It depends :-)

If openLDAP is set up to use the same scheme then you can extract the passwords from the userlist directory and use them for openLDAP provided you can set the hashed password attribute value directly. You'll need to be root to be able to run "omsearch -th -d userlist -m UL-PWD -e <filter>" -- we don't want people reading the userlist any more than we want people reading /etc/shadow.

jch


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 1 guest

cron