i-Planet Administration Guide

Deleting i-Planet Users Based on Last Login Time

If you specify either the -nologin or -older N switches, i-Planet users are removed based on their last update time (stored as the value for the i-Planet user's Common.UpdateTime property). You can view this property with the get action.

To Delete i-Planet Users Based on Last Login Time Using the -older N Switch
  1. Type the following to delete i-Planet users based on last login time using the -older N switch, for example:


    # java com.sun.stnr.useradmin.UserAdminCL +action -interactive delete -older 30 
    

  2. Confirm that you want the user indicated deleted by typing y or n:


    + delete login=bob [yes/no] y 
    
    + deleted login=bob 
    
    + delete login=bill [yes/no] y 
    
    + deleted login=bill 
    
    + delete login=bob [yes/no] n 
    
    + no action for login=jan

To Delete i-Planet Users Based on Last Login Time Using the -nologin Switch
  1. Type the following to delete i-Planet users based on last login time using the -nologin switch, for example:


    # java com.sun.stnr.useradmin.UserAdminCL +action delete -interactive -nologin 
    

  2. Confirm that you want the user indicated deleted by typing y or n:


    + delete login=bob [yes/no] y 
    
    + deleted login=bob