AFP548

changing users’ passwords via command line

Hey all,

Slow but steady progress on my command line odyssey... thank god I'm being paid for this... When I'm finished I will write up a full tutorial on how to create new users via the command line in Panther Server. In the meantime...

How do you change users' email passwords in Terminal?

The passwd command will change their file sharing passwords, but not for email. These are LDAP users, so

dscl . create /Users/username passwd

will not work because passwd is not a valid LDAP attribute.

That is the most pressing issue. In the meantime, if I'm only providing mail, web, AFP, and Samba services on this box, do I really need to care whether users use crypt or Open Directory passwords? And if I really should care, is there a way to change a user from crypt to OD password via the command line?

Oy vey. Thanks so much--

Noam
Exit mobile version