Educational ICT Virtualisation Specialist

Twitter LinkedIn E-mail
Precedence Technologies Ltd
Technology House, 36a Union Lane
Cambridge, CB4 1QB, United Kingdom
T: +44 (0)8456 446 800 / +44 (0)1223 359900
E: enquiries@precedence.co.uk
Users-resetpass

Jump To: Support > KB > NetManager > Users > resetpass

Bulk password resets

If you need to reset passwords for a group or a list of users to a known value, this can be easily achieved. For example, if you have enabled LDAP authentication, then local passwords are not necessary and so should be set to an invalid value.

The command to reset passwords is resetpass and should be run from the Command Line. Its syntax is:

netmanager 1# resetpass
Version: 1.4 $
Usage: resetpass <password> <username> [<username> ...]
  or for groups:
       resetpass -g <password> <groupname> [<groupname> ...]
        Use * as the password to set a disabled password

Specifying * as the password will still leave the account active, but will disable local password authentication. This means you will have to use LDAP or, in the case of ssh, Public/Private keys. On the command line, you must put quotes around the * symbol.

Examples

Reset password to pass for a list of users:

netmanager 1# resetpass pass jsmith fbloggs jdoe

Reset password to pass for two groups:

netmanager 1# resetpass -g pass intake08 intake09

Set a disabled password for a number of groups (note the quotes around *):

netmanager 1# resetpass -g '*' intake07 intake08 intake09 intake10
© Copyright Precedence Technologies 1999-2024
Page last modified on March 23, 2011, at 08:51 AM by sborrill