简体   繁体   English

如何以分组方式更改多个用户的密码?

[英]how do I change the password for multiple users in groupwise?

I have 1000 users I need to change the user passwords to a 'known to admin' password for a migration tool (groupwise to exchange). 我有1000个用户,我需要将迁移工具的用户密码更改为“管理员已知”密码(以分组方式交换)。 Admin does not have any of the user passwords. 管理员没有任何用户密码。 How do I change a batch of user passwords via LDAP or other management protocol when admin does not have the existing user passwords? 当admin没有现有的用户密码时,如何通过LDAP或其他管理协议更改一批用户密码? All users are in the Groupwise LDAP directory and not system level on linux. 所有用户都位于Groupwise LDAP目录中,而不是Linux上的系统级别。

There simply isn't enough information here to be able to answer your question. 此处没有足够的信息来回答您的问题。 It would help to know the version of GroupWise. 了解GroupWise的版本将有所帮助。 And you also mentioned LDAP. 您还提到了LDAP。 GroupWise can use authentication either via LDAP or via GroupWise native passwords. GroupWise可以通过LDAP或GroupWise本机密码使用身份验证。 If you are indeed using LDAP passwords for your GroupWise account, then it really isn't a GroupWise question. 如果您确实在为GroupWise帐户使用LDAP密码,那么这实际上不是GroupWise的问题。 It's a question of what LDAP server you are using for the password source. 这是您要使用哪个LDAP服务器作为密码源的问题。 In other words, it would be different if we are talking about GroupWise passwords, AD passwords, or eDirectory passwords. 换句话说,如果我们谈论的是GroupWise密码,AD密码或eDirectory密码,则将有所不同。 Also, if it is GroupWise 2014, the way to manage GroupWise passwords themselves would be much simplified. 同样,如果是GroupWise 2014,则可以大大简化管理GroupWise密码本身的方法。 So, give us a little more information. 因此,请给我们更多信息。

Thanks 谢谢

Danita Zanre Caledonia.net Danita Zanre Caledonia.net

ldapmodify has the ability to edit passwords if you have administrative access. 如果您具有管理员访问权限,则ldapmodify可以编辑密码。 Ideal for batch commands too. 也是批处理命令的理想选择。

You use ldapsearch which is the easiest. 您使用最简单的ldapsearch。 The -ZZ assist with authentication which I had to use. 我必须使用-ZZ协助进行身份验证。 ldapsearch -x -ZZ -h localhost -D "cn=admin,o=RealmOrDomain" -bo=RealmOrDomain ldapsearch -x -ZZ -h localhost -D“ cn = admin,o = RealmOrDomain” -bo = RealmOrDomain

will dump just about everything 将倾倒几乎所有东西

ldapsearch -x -ZZ -h localhost -D "cn=admin,o=RealmOrDomain" -bo=RealmOrDomain mail |grep mail: ldapsearch -x -ZZ -h localhost -D“ cn = admin,o = RealmOrDomain” -bo = RealmOrDomain邮件| grep邮件:

If you need a more specific search 如果您需要更具体的搜索

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM