Sun Java System Directory Server Enterprise Edition 6.0 Administration Guide

ProcedureTo Set the Time Limit for an Account

You can use DSCC to perform this task. For information, see Directory Service Control Center Interface and the DSCC online help.

    Use the ldapmodify command to set the value of nsTimeLimit.

    The following command removes the time limit for Barbara Jensen:


    $ ldapmodify -D cn=admin,cn=Administrators,cn=config -w -
    Enter bind password: 
    dn: uid=bjensen,ou=people,dc=example,dc=com
    changetype: modify
    add: nsTimeLimit
    nsTimeLimit: -1
    ^D
    modifying entry uid=bjensen,ou=people,dc=example,dc=com
    
    ^D
    $